.py to .pyc

Tim Chase python.list at tim.thechases.com
Sun May 13 18:00:49 EDT 2012


On 05/13/12 16:36, Irmen de Jong wrote:
> Why do you care anyway? Pyc files are an implementation detail.

I could see wanting to pre-compile .pyc files for performance if
they'll then be stored on a read-only medium (a CD/DVD, a RO network
share, or a RO drive partition all come to mind).

You can read up on forcing the compile at

http://effbot.org/zone/python-compile.htm#compiling-python-modules

-tkc






More information about the Python-list mailing list