What I came up with is:
keys, values = zip(*[(key, value) for (key, value) in my_dict.iteritems()])
But I am not satisfied. What do the pythonistas say?
keys, values = zip(*d.items())
1.4m articles
1.4m replys
5 comments
57.0k users