Need compile python code

MonkeeSage MonkeeSage at gmail.com
Sat Sep 23 12:39:58 EDT 2006


mistral wrote:
> Just to comple python ode - it creates html page, nothing more, nothing
> else.. Just generate one html page.

I *think* this is what you want:

python -O -m py_compile file.py
python file.pyo

See: http://docs.python.org/lib/module-pycompile.html

Regards,
Jordan




More information about the Python-list mailing list