Tkinter apps running in idle under Win98

Gordon McMillan gmcm at hypernet.com
Thu Mar 16 09:05:32 EST 2000


Werner Arnhold wrote:
 
> When we start Programs using Tkinter from IDLE with F5-key that open
> with
> 
> 	root = Tk()
> 
> and close with
> 
> 	root.destroy()
> 
> the prompt in the main interpreter window never returns and there is no
> regular way to close the IDLE-application. Other apps sometimes start
> with an empty window or with the regular and an empty window.
> 
> Any hint what to do?

Don't start it from IDLE. Double-click on it instead. GUIs can 
only have one mainloop, and IDLE's already got one.

- Gordon




More information about the Python-list mailing list