Initializing Python in Optimized mode from C++

JT johnc_tan at hotmail.com
Fri Apr 16 14:34:28 EDT 2004


Hi,

When embedding Python in C++, is there anyway to initialize the
interpreter so that it runs in optimized mode, equivalent to
specifying the -O flag when running the interpreter from the command
line?

Thanks,
John



More information about the Python-list mailing list