using Tkinter from IDLE

Russell Blau russblau at
Thu Mar 3 18:55:20 CET 2005

<neutrinman at> wrote in message
news:1109870617.019317.293530 at

> How do I use Tkinter from IDLE? Tkinter can be used from IDLE attached
> to python 2.2, IDLE 0.8. But I couldn't use from IDLE attached to
> python 2.3, IDLE 1.0.3. When I execute the code below:

> from Tkinter import *
> root = Tk()

> the window appears form IDLE 0.8, but not from IDLE 1.0.3.

Add the line:


at the end of your code.

I don't actually read my hotmail account, but you can replace hotmail with
excite if you really want to reach me.

More information about the Python-list mailing list