newbie needs help with GUI

ted tedNOSPAM94107 at yahoo.com
Sat Oct 4 14:28:49 EDT 2003


Hi,

I just installed Python 2.3 from python.org and installed it on Win2000.

When I double-click my gui script, a dos window appears behind the Tkinter
gui.

How do I stop the dos window from coming up when I launch the gui script?

BTW, here's the code to the gui.

from Tkinter import *
w = Button(text="Hello", command='exit')
w.pack()
w.mainloop()

Thanks,
Ted






More information about the Python-list mailing list