starting a Python 2.5 executable without the DOS window
Vlastimil Brom
vlastimil.brom at gmail.com
Fri Feb 27 10:19:55 EST 2009
>> 2009/2/27 Greg Miller <et1ssgmiller at gmail.com>:
>> > 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
>> > --
2009/2/27 Greg Miller <et1ssgmiller at gmail.com>:
> Sorry, I should have been a bit more specific, it is an executable, .exe,
> application created with PytoExe.
>
Ok, then you can adjust your setup script for py2exe to contain
setup(windows=["sourcefile.py"] ... )
instead of
setup(console=["sourcefile.py"] ...) which you probably have now.
hth,
vbr
More information about the Python-list
mailing list