global variable scope

Dave Brueck dave at pythonapocrypha.com
Sat Feb 8 19:53:50 EST 2003


On Sat, 8 Feb 2003, Sam Marrocco wrote:

> Is it possible to make a variable "super-global", meaning that it is
> visible to *all* modules of a python program (I'm well aware of the
> pitfalls to such techniques)?

__builtins__.myVar = someVal

-Dave





More information about the Python-list mailing list