Running a Tkinter GUI in WIN98 without the useless DOS window?

John Roth johnroth at
Sun Feb 2 13:16:52 CET 2003

"Jack Crane" <jdcrane7 at> wrote in message
news:Xns9315D4F58B6D8jdcrane7yahoocom at
> "vincent wehren" <v.wehren at> wrote in
> news:b1hhm4$jdf$1 at
> >> Did you take a look at at
> >> ?
> >>
> >> Jack Crane
> >
> > That's what I tested...
> > No DOS window when you call grepper.pyw..
> > But now your telling me about a file called qs.pyw..?
> > - vwe
> Sorry. qs.pyw is exactly the same as grepper except that it "greps" a
> different text file, qs.txt. And qs.pyw when executed through IDLE
(not how
> I want to use it), also opens with no DOS window, but leaves IDLE
> and uncloseable (hanging?). IOW it's behavior is exactly the same as
> grepper.pyw.
> Thanks for sticking with me. I love Python so far, but Tkinter is
giving me
> a lot of trouble. I've tried Tk with Tcl with no problems, but I
> don't want to abandon Python for creating GUIs.

Tkinter in Win9x is pretty much unusable. It supposedly works OK
in the WinNT, Win2000, WinXP series. The problem is exactly what
you report: anything goes wrong, and it does something wierd to the
that causes programs to not end, and also causes problems on exit.

I've never heard of the foobar.pyw suffix not working to suppress
the DOS window, however. That's what it's supposed to do.

John Roth

> Jack Crane

More information about the Python-list mailing list