access a particular key from list of dicctionaries python code example
Example 1: python list keys from dictionary
# Basic syntax:
list_of_keys = list(dictionary.keys())
Example 2: 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))