This python program get and print all the keys in a dictionary.
d = {'k1': 'v1', 'k2': 'v2', 'k3': 'v3'} print 'List: ', d.keys()