wxPython launches DOS shell

Alan James Salmoni alan_salmoni at yahoo.com
Wed Aug 20 06:15:59 EDT 2003


Like the other posters say: use pythonw.exe.

The best way to autolaunch this is change the python file name from
".py" to ".pyw", so "script.py" becomes "script.pyw". This means that
a console window (DOS box) isn't created. Of course, this doesn't work
on any other OS... ;)

Alan James Salmoni
SalStat Statistics
http://salstat.sunsite.dk

matthew.rapoport at accenture.com (Matt Rapoport) wrote in message news:<4150f6c8.0308190748.7633e5c9 at posting.google.com>...
> Does anyone know how to avoid getting a DOS shell launched everytime
> you run a wxPython script?  The shell is used to run Python.exe but it
> doesn't look very professional when a black window pops up along with
> your GUI.
> 
> Thanks,
> 
> Matt




More information about the Python-list mailing list