global and import

Nathan Clegg nathan at islanddata.com
Wed Jul 28 14:36:03 EDT 1999


I'm having a little trouble understanding how global and import interact. 
Currenly I have a script that includes a couple of global variables that
allow for a small amount of communication between multiple threads and
signal handlers.  I would like to move some of the functions to separate
modules for several reasons, but need to maintain just the two global
variables between them.  Can this be done?


----------------------------------
Nathan Clegg
 nathan at islanddata.com






More information about the Python-list mailing list