import pprint

a = 42
pprint.pprint(globals())
