[IPython-dev] [Enthought-dev] pausing in IPython in a Chaco based wx app

Fernando Perez fperez.net@gmail....
Thu Nov 22 15:08:22 CST 2007

On Oct 18, 2007 10:30 AM, Tom Denniston
<tom.denniston@alum.dartmouth.org> wrote:
> I am cross posting to IPython and Enthought because I don't know
> whether this is an IPython or ets question.
> I am driving a wx-traits-chaco app from IPython using ipython in
> wx-thread mode.  The one problem is I sometimes want to loop in
> IPython doing something that updates the data in the gui and then
> pauses till the user is done looking at the new data, then the user
> hits enter and it continues updating the gui with yet more data.
> I was doing the dumb thing of using the python input function but that
> seems to lock the wx thread so that the gui doesn't update and becomes
> unresponsive.  Is there a way to code  a <hit enter to continue..>
> that doesn't lock the wx thread?

Off the top of my head I can't think of a solution, but if you find
one (you may already have), it would be nice to have it listed in the
ipython cookbook:


as I'm sure you're not the only one with this need.



More information about the IPython-dev mailing list