Re: Multiple python interpreters within the same process

2007-06-09 Thread Graham Dumpleton
On Jun 10, 9:07 am, Josiah Carlson <[EMAIL PROTECTED]> wrote: > André wrote: > > On Jun 9, 5:00 pm, "Marcin Kalicinski" <[EMAIL PROTECTED]> 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 > >>

Re: Multiple python interpreters within the same process

2007-06-09 Thread Josiah Carlson
André wrote: > On Jun 9, 5:00 pm, "Marcin Kalicinski" <[EMAIL PROTECTED]> 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

Re: Multiple python interpreters within the same process

2007-06-09 Thread André
On Jun 9, 5:00 pm, "Marcin Kalicinski" <[EMAIL PROTECTED]> 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 o