Code:
d = {\'a\': 0, \'b\': 1, \'c\': 2} l = d.keys() print l
This prints [\'a\', \'c\', \'b\']. I\'m unsure of how the metho
[\'a\', \'c\', \'b\']
From http://docs.python.org/tutorial/datastructures.html:
"The keys() method of a dictionary object returns a list of all the keys used in the dictionary, in arbitrary order (if you want it sorted, just apply the sorted() function to it)."