Mega Code Archive

 
Categories / Python Tutorial / Dictionary
 

Retrieving dictionary key list

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