Need compile python code

mistral polychrom at softhome.net
Sat Sep 23 20:48:42 CEST 2006


MonkeeSage писал(а):

> 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

----------
this not work for me, show compilation error.  Is there simple way
compile pythone file? its absolutely unclear with command line. Just
show me exact command I need run(from python interactive shell?)




More information about the Python-list mailing list