[Tutor] py2exe - supress console window with GUI app?

Kent Johnson kent37 at tds.net
Mon Nov 22 03:17:45 CET 2004

I think you need to use
   windows = ["myprogram.py"]
instead of
   console = ["myprogram.py"]

Look at py2exe\samples\simple\setup.py for an example.

I don't know if Jacob's script supports this, you might have to modify 
it or make your own setup.py...


justinstraube at charter.net wrote:
> Hello,
> Im trying to use py2exe (a huge thanks to Jacob Schmidt for his 
> previous post with the setup.py, .bat, and step by step instructions.).
> Py2exe created the .exe file but when I run it an empty console window 
> appears with the program. I have looked around but havent seen anything 
> on how to supress it. I searched through the Activestate message 
> archives but didnt see anything. Can anyone give me a hint?
> Thanks in advance for your time.
> regards,
> Justin
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

More information about the Tutor mailing list