__getattr__ for globals?

Kevin Smith Kevin.Smith at sas.com
Fri Apr 18 10:06:29 EDT 2003


Is there a way to get the same type of effect of the __getattr__ method 
on class instances with global variables?  I want to be able to look up 
the value of global variables from an external source if they don't 
exist in the current set of globals.

-- 
Kevin Smith
Kevin.Smith at sas.com




More information about the Python-list mailing list