Retrieving dictionary value list : keys « Dictionary « Python Tutorial






keyGenDict={'keys':[1,2,3],1:'blue',2:'fast',3:'test','key':2}

print keyGenDict.values()








8.17.keys
8.17.1.keys() returns a list of the dictionary's keys,
8.17.2.Retrieving dictionary key list
8.17.3.Retrieving dictionary value list
8.17.4.Get list of keys
8.17.5.Create subset of keys
8.17.6.Create new dictionary from subset of keys