Win GUI application: avoiding DOS console

Jarek Zgoda jzgoda at o2.usun.pl
Sat Jan 20 14:47:31 EST 2007


Siggi napisał(a):

> how do I avoid the DOS console show-up when starting a WinXP GUI application 
> with mouseclick on the respective Python file?
> 
> I had this with my previous Python installation; it is very simple, 
> something with a "-i" somewhere in the open command of the  MS Windows data 
> types "PY" and "PYW". But after a new Python installation, this was lost, 
> and I cannot find the instruction what to do.

Run it using pythonw.exe instead of python.exe (check in file types
properties window).

-- 
Jarek Zgoda
http://jpa.berlios.de/



More information about the Python-list mailing list