There's GOT to be a better way!
Kent Johnson
kent37 at tds.net
Thu Mar 3 21:54:31 EST 2005
gaudetteje at gmail.com wrote:
> This would be a good case to use OO design, imo. The following works
> fine. Simply instantiate the object, call the method, and you can
> access (and manipulate) the "module's" variable to your heart's
> content.
>
> module.py
> class object:
Ouch. Use a different name than 'object', which is the base class of all new-style classes.
Kent
More information about the Python-list
mailing list