Customizing module globals

Kerim Borchaev ( WarKiD ) warkid at storm.ru
Thu Sep 6 11:01:30 EDT 2001


Can I specify what module's to be imported symbol table will be?

Say I have a module named Module that assumes that there's an object
Object without implicit declaration like this :

Module.py
----------------
Object.doThings()
----------------

And I can import/run this module with specific a Object?

Thanks in advance,
 Kerim                          mailto:warkid at storm.ru

"They can have any color they want as long as it's black."  - Henry Ford






More information about the Python-list mailing list