Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #I have a list of dictionaries
- data_list = [{u'#text': u'2018-06-12 14:54:53.887', u'@Name': u'UtcTime'}, {u'#text': u'{13287959-C763-5B1A-0000-001097D60000}', u'@Name': u'ProcessGuid'}]
- #want to turn the list into a value for a dictionary:
- {'Data':
- {u'#text': u'2018-06-12 14:54:53.887', u'@Name': u'UtcTime'},
- {u'#text': u'{13287959-C763-5B1A-0000-001097D60000}', u'@Name': u'ProcessGuid'}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement