strange import phenomenon
Christoph Zwerschke
cito at online.de
Fri Sep 23 05:26:07 EDT 2005
Previous message (by thread):
strange import phenomenon
Next message (by thread):
Writing a parser the right way?
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
>
One idea that seems to work is setting __name__ = '__main__'
Or, del sys.modules[__name__].
Previous message (by thread):
strange import phenomenon
Next message (by thread):
Writing a parser the right way?
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list