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 -- http://mail.python.org/mailman/listinfo/python-list