python dictionary from a list code example
Example 1: python get elements from list of dictionaries
dct = {"Id": 1, "Name": "Suresh", "Location": "Hyderabad"}
uid = dct["Id"]
name = dct["Name"]
location = dct["Location"]
print("Id = {}, Name = {}, Location = {}".format(uid, name, location))
Example 2: python list of dictionaries to list
[d['value'] for d in l]