How can I run precompiled code objects?

Vesselin Peev vesselinpeev at hotmail.com
Fri Jul 13 01:32:18 EDT 2001


Hello,

Can anyone tell me how to use the so called "code objects" in Python, for 
example the ones created via

PyObject* Py_CompileString(char *str, char *filename, int start)

There's no explanation on the matter that I can find.

All I want to do is to execute different precompiled python code blocks from 
a C program (I have already embedded Python). I could make do without 
bytecode but then the speed would be much les.

Thanks in advance.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the Python-list mailing list