globals() always returns the dictionary of the module namespace
globals()
locals() always returns a dictionary of the current namespace
locals()
print(locals()) will let you do some easy debugging (in fts, extra stuff in global namespace)
Last updated 7 years ago