starting a Python 2.5 executable without the DOS window

pruebauno at latinmail.com pruebauno at latinmail.com
Fri Feb 27 09:28:12 EST 2009


On Feb 27, 9:12 am, Greg Miller <et1ssgmil... at gmail.com> wrote:
> I am working on a program that controls a piece of equipment.  The GUI/
> control software is written with Python2.5/wxPython.  I would like to
> know if there is a way of starting the GUI without the DOS window
> having to launch?  I would like only the application itself to appear,
> no DOS window.  Thanks for any information.
> Greg Miller

change the extension of your python program from ".py" to ".pyw".
Alternatively make sure that your program gets started by pythonw.exe
(insted of python.exe).



More information about the Python-list mailing list