python pyc or pyo files

Fredrik Lundh fredrik at pythonware.com
Thu Apr 20 01:43:50 EDT 2006


micklee74 at hotmail.com wrote:

> This is an expected behaviour right? why is B.pyc not generated?

PYC files are only generated for modules that are imported, not for
toplevel scripts.  also see:

    http://pyfaq.infogami.com/how-do-i-create-a-pyc-file

</F>






More information about the Python-list mailing list