newbie needs help with GUI

ted tedNOSPAM94107 at yahoo.com
Sun Oct 5 16:01:07 EDT 2003


Thanks Scott. Was wondering what pythonw.exe was for.



"Scott David Daniels" <Scott.Daniels at Acm.Org> wrote in message
news:3f7f1baa$1 at nntp0.pdx.net...
> ted wrote:
> > 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
> >
> >
> I suspect python.exe is associated with your.py file.
> Reassociate with pythonw.exe from the same directory.
>
> -Scott David Daniels
> Scott.Daniels at .Acm.Org
>
>






More information about the Python-list mailing list