Running a Tkinter GUI in WIN98 without the useless DOS window?
v.wehren at home.nl
Sat Feb 1 16:25:53 CET 2003
"Jack Crane" <jdcrane7 at yahoo.com> schrieb im Newsbeitrag
news:Xns9315316F1819Ejdcrane7yahoocom at 220.127.116.11...
> "vincent wehren" <v.wehren at home.nl> wrote in
> news:b1gbar$o6g$1 at news3.tilbu1.nb.home.nl:
> > "Jack Crane" <jdcrane at yahoo.com> schrieb im Newsbeitrag
> > news:Xns93151D69F34FAjdcrane7yahoocom at 18.104.22.168...
> >> Can a Tkinter GUI be run in Win98 without the useless DOS window? I'm
> >> not sure if I expressed that correctly or clearly, but I am using the
> >> Python script at
> >> http://answers.google.com/answers/main?cmd=threadview&id=121280 ,
> >> calling it with a shortcut to grepper.py. Grepper works well, but is
> >> there a way to call grepper.py without that useless DOS window opening
> >> as well?
> > Try calling your modules *.pyw instead of *.py.
> Nope. Still get the DOS window.
Well, I don't...
How are you starting the module exactly?
> > (BTW: I wouldn't call the command prompt useless..Once you run your
> > code as *.pyw any exceptions that you do not particularly catch and
> > output via a Tkinter message box will never surface. So I'd leave the
> > *.pyw suffix alone during the entire process of writing/debugging, and
> > rename the when *ready* to deploy...)
> Thanks for this info.
> Jack Crane
> jdcrane7 at yahoo.com
More information about the Python-list