wxPython in C++ app using wxWidgets

2007-08-17 Thread Marcin Kalicinski
I have an application written in C++ that uses wxWidgets for GUI. I use embedded Python for scripting inside of this application. I want to use wxPython to add GUI to my scripts - because my C++ App uses wxWidgets I thought it to be easy. The problem is that wxPython knows nothing about wxApp/w

Multiple python interpreters within the same process

2007-06-09 Thread Marcin Kalicinski
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 -- http://mail.pytho