How to optimised with embedded Python ?
John J. Lee
jjl at pobox.com
Sun Feb 1 19:30:48 EST 2004
Emmanuel <eastier at free.fr> writes:
> I would like to use optimised python scripts ( *.pyo ), in order to gain
> space.
> But I use an embedded python. The compiler can only be run from my
> application.
> How do I set the compiler, from the C api, to create optimised files ?
There's a "compileall" script in the source distribution that should
show you how to do it.
John
More information about the Python-list
mailing list