[IPython-dev] wxPython console
emmanuel.bacry at polytechnique.fr
Thu Nov 3 20:24:17 EDT 2011
Sorry to bother you again Thomas! I worked a little on what you suggested me
and tried some stuff
Right now I have 2 questions
1- So I ran a wx main loop, I created the InteractiveShell. I can execute
commands in this shell. Now I want to be able to display the stdout of this
shell in my wx console. So I need to redirect sys.stdout on the
InteractiveShell as you explained to me.
Is the best way to share a buffer between the two environments, and on Idle
time I ask wx to empty it ?
And I redirect the stdout of the InteractiveShell to print in this buffer ?
2- My second problem is more of a concern : I want, from the
InteractiveShell, to open some new wx window and to be able to define some
callback events for these windows.
This sounds like a mess to do no ?
How do I share the whole wx environment that was open in my initial
environment with my InteractiveShell
I hope I am clear ?
View this message in context: http://old.nabble.com/wxPython-console-tp32057061p32777434.html
Sent from the IPython - Development mailing list archive at Nabble.com.
More information about the IPython-dev