[C++-sig] PyEval_EvalCode

David Abrahams dave at boostpro.com
Wed Nov 12 17:31:21 CET 2008


on Wed Nov 12 2008, Alan Baljeu <alanbaljeu-AT-yahoo.com> wrote:

>>This sounds perfectly reasonable to me, FWIW.
>>An interesting question then is how you embed your interactive Python shell into the
> application's main event loop. But that's mainly an implementation detail. :-)
>>
>>Regards,
>  >     Stefan
>
> Well, rendering is on a separate thread, so no issue there.  My plan is:
> 1) create a console
> 2) type text into the console
> 3) ask you guys how to get the interactive Python shell to respond to that text.

That looks like a question someone on the regular Python (non-C++) list
would likely be better at answering. 

> If there's another option besides a console window, I'm interested.

And that one too.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


More information about the Cplusplus-sig mailing list