[python-win32] Re: Close the P2EXE DOS window ?

Thomas Heller theller at python.net
Sat Aug 2 21:56:50 EDT 2003


Ray Pasco <pascor at hotpop.com> writes:

> I'm making a stand-alone app using p2exe.  Is there a way to close the
> unused DOS window but leave the GUI running ?  Or, perhaps, just have
> it automatically minimized ?  Is there a way to tinker with PY2EXE's
> parameters ?

Build your app with the -w command line flag, or name the script
'myapp.pyw' instead of 'myapp.py', and the dos window will never appear.

Thomas




More information about the Python-win32 mailing list