How to run codeobjects in Python?

Vesselin Peev vesselinpeev at
Fri Jul 13 13:46:33 CEST 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

More information about the Python-list mailing list