How to run codeobjects in Python?

Vesselin Peev vesselinpeev at hotmail.com
Fri Jul 13 07:46:33 EDT 2001


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 less.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the Python-list mailing list