Not all .PY files are compiled to .PYC during execution
Erik Max Francis
max at alcyone.com
Fri Feb 13 04:41:32 CET 2004
Tony C wrote:
> Why is the application file not compiled to .PYC ?
When you import a .py file, a .pyc is created. When you run it
directly, it isn't. The thinking is probably that something that's a
module is less likely to change than something that's a script. I don't
really think there's much stock to take in the difference; it's just the
way it is.
__ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/ \ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
\__/ Love is when you wake up in the morning and have a big smile.
More information about the Python-list