[Tutor] TKinter and IDLE problem
Dick Moores
rdm@rcblue.com
Tue Dec 10 02:58:03 2002
I've been learning Python with v2.2.2 for Windows (on Win98). I've started
to try out Tkinter with the Tkinter Intro at
http://www.pythonware.com/library/tkinter/introduction/index.htm
When I run hello1.py
(http://www.pythonware.com/library/tkinter/introduction/hello-tkinter.htm )
using IDLE, it starts fine, showing the GUI with the "Hello, World!" label.
However, IDLE then becomes unusable, even after closing both the GUI
and hello1.py (no more ">>>" appear when hitting Enter).
What am I doing wrong?
Thanks,
Dick Moores
rdm@rcblue.com
========================
# File: hello1.py
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!")
w.pack()
root.mainloop()
========================