import overwrites __name__
apt.shansen at gmail.com
Fri May 8 23:25:45 CEST 2009
> So what leads to the behavior that the .pyc is not created?
PYC's are only generated on import, they're never made for the main script.
I personally like to keep my 'main script' very small. Largely just
something which imports other modules and sends them along on their
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list