Global variables in modules/functions

Jeff Shannon jeff at ccvcorp.com
Fri Nov 19 19:24:21 EST 2004


Scott David Daniels wrote:

> The easiest way to do this is to create a module named "globals", and
> have any modules wanting to work like:


... except that you might want to use a different name, to avoid 
shadowing the globals() builtin function.  :)

Jeff Shannon
Technician/Programmer
Credit International




More information about the Python-list mailing list