suppressing the console in a GUI program

placid Bulkan at gmail.com
Tue Aug 1 03:01:48 EDT 2006


John Salerno wrote:
> John Salerno wrote:
> > Hi guys. I tried naming my file with a .pyw extension, but the console
> > still shows up. Why doesn't this work? And is there another, more
> > programmatic way to suppress it?
> >
> > Thanks.
>
> I just noticed that the console that opens isn't the normal one, it's
> IPython. Now how would I suppress that one as well? Again, any way to do
>   it in the program, or is that not a good idea for when it gets ported
> to another platform?

<try>

via Explorer --> File Options --> File Types find PYW entry in the list
and change the associated program to pythonw

</try>


Cheers




More information about the Python-list mailing list