Multiple python interpreters within the same process
andre.roberge at gmail.com
Sat Jun 9 22:03:09 CEST 2007
On Jun 9, 5:00 pm, "Marcin Kalicinski" <kal... at poczta.onet.pl> wrote:
> How do I use multiple Python interpreters within the same process?
> I know there's a function Py_NewInterpreter. However, how do I use functions
> like Py_RunString etc. with it? They don't take any arguments that would
> tell on which interpreter to run the string...?
You may want to look at the code module http://docs.python.org/lib/module-code.html
More information about the Python-list