strange import phenomenon

Christoph Zwerschke cito at online.de
Fri Sep 23 11:26:07 CEST 2005


>One idea that seems to work is setting __name__ = '__main__'

Or, del sys.modules[__name__].



More information about the Python-list mailing list