I may be having a brain fart here, but I really can\'t figure out what\'s wrong with my code:
for key in tmpDict: print type(tmpDict[key]) time.sleep
Although not as straightforward as isinstance(x, list) one could use as well:
isinstance(x, list)
this_is_a_list=[1,2,3] if type(this_is_a_list) == type([]): print("This is a list!")
and I kind of like the simple cleverness of that