code in a module is executed twice (cyclic import problems) ?
Benjamin Peterson
benjamin at python.org
Sat Oct 10 20:05:44 EDT 2009
Stef Mientki <stef.mientki <at> gmail.com> writes:
> Why is the B.py executed twice ?
Because it's executed once as a script and once as a module.
More information about the Python-list
mailing list