How do I access Python's dictionary of all global variables?

Josiah Carlson jcarlson at nospam.uci.edu
Mon Feb 23 23:41:50 EST 2004


> For reference, this can be done using a debug build of the interpreter.
> I don't recall the name of the function or even which module it was
> in (sys or gc, presumably) but it was there.  (I think. :-)

That scares me, it is very dangerous.

  - Josiah



More information about the Python-list mailing list