merging the global namespaces of two modules

Fabrizio Pollastri f.pollastri at inrim.it
Thu May 22 05:23:01 EDT 2008


Hi,

just an import problem:
a program imports two modules, modA and modB, each module do not known anything 
about the other module (i.e. no cross imports in them), both modules needs to 
refer to some functions that are defined in the global namespace of the other 
module. There is a possible solution? In other words, can the importing program 
cover in some way the lack of cross imports between the modules?
Thank in advance for any help.

F. Pollastri



More information about the Python-list mailing list