generating .pyc without running .py?

Darrell news at dorb.com
Thu Jan 13 15:09:40 EST 2000


3.23 py_compile -- Compile Python source files.
The py_compile module provides a single function to generate a byte-code
file from a source file


--
--Darrell
"Brian Langenberger" <brian at brian.cbs.umn.edu> wrote in message
news:85lb6i$js2$1 at news1.tc.umn.edu...
> Is there a way to generate Python bytecode files (.pyc)
> without executing the original (.py) script?  I'd like
> to automate the generation process, but can't find a
> command line parameter that seems appropriate.
> --
> http://www.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list