How to use *.py modules instead of *.pyc?

Chris Rebert clp2 at
Mon Jan 19 02:42:34 CET 2009

On Sun, Jan 18, 2009 at 5:13 PM,  <dsblizzard at> wrote:
> How to use *.py modules instead of *.pyc or automatically recompile
> all modules each time I change *.py files?
> Thank you in advance.

Also, just for the sake of completeness (since John and I have shown
that your real problem lies elsewhere), I happened to come across the
`compileall` module via a Planet Python blog, which mass-compiles
.py-s into .pyc-s:


Follow the path of the Iguana...

More information about the Python-list mailing list