[Tutor] Tk+Ipython unexpected behavior

Alan Gauld alan.gauld at btinternet.com
Mon Jan 26 23:41:49 CET 2009

"W W" <srilyk at gmail.com> wrote

> the frame.quit method is bound to a quit button. When I double click 
> the .py
> file to run it, it closes when the quit button is pressed. But with 
> Ipython,
> when the quit button is pressed, it unblocks the Ipython input but 
> doesn't
> actually quit the window.

I don't know what framework IPython uses but Tkinter is renowned for
running in irregular ways from inside IDEs - even ones not written in
Tkinter!. My recommendation for testing Tkinter (or indeed any GUI) 
is to always run them from an OS prompt.

Alan G 

More information about the Tutor mailing list