[Tkinter-discuss] simple script -Tkinter question.

mkieverpy at tlink.de mkieverpy at tlink.de
Tue Jul 4 09:48:44 CEST 2006

Hi jkuo!

>Hi everyone,
>Here is my simple Tkinter script:

>## start of entry.py
>from Tkinter import *
>e1=Entry(root, width=16)
>e2=Entry(root, width=16)
>## end

You should call 'root.mainloop()'!
Just mainloop() is the mainloop of Tcl, not Tk.
I don't know what the effects of this might be.
On Linux everything seems to work, nonetheless.

Hope this helps,

Matthias Kievernagel
software development

More information about the Tkinter-discuss mailing list