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

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


"Jack Crane" <jdcrane7 at yahoo.com> wrote in message
news:Xns9315D4F58B6D8jdcrane7yahoocom at 130.133.1.4...
> "vincent wehren" <v.wehren at home.nl> wrote in
> news:b1hhm4$jdf$1 at news1.tilbu1.nb.home.nl:
>
> >> Did you take a look at grepper.py at
> >> http://answers.google.com/answers/main?cmd=threadview&id=121280 ?
> >>
> >> Jack Crane
> >
> > That's what I tested...
> > No DOS window when you call grepper.py 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
unusable
> 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
really
> 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
system
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