Multiple python interpreters within the same process

Marcin Kalicinski kalita at poczta.onet.pl
Sat Jun 9 16:00:02 EDT 2007


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...?

Marcin





More information about the Python-list mailing list