Connecting Tech Pros Worldwide Forums | Help | Site Map

Win GUI application: avoiding DOS console

Siggi
Guest
 
Posts: n/a
#1: Jan 20 '07
Hi all,

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.

Please help!

Thanks,

siggi



Bruno Desthuilliers
Guest
 
Posts: n/a
#2: Jan 20 '07

re: Win GUI application: avoiding DOS console


Siggi a écrit :
Quote:
Hi all,
>
how do I avoid the DOS console show-up when starting a WinXP GUI application
with mouseclick on the respective Python file?
rename yourfile.py to yourfile.pyw
Siggi
Guest
 
Posts: n/a
#3: Jan 20 '07

re: Win GUI application: avoiding DOS console


Thanks, but I don't mean that, I am looking for the method keeping *.py.

"Bruno Desthuilliers" <bdesth.quelquechose@free.quelquepart.frschrieb im
Newsbeitrag news:45b25ec1$0$16367$426a74cc@news.free.fr...
Quote:
Siggi a écrit :
Quote:
>Hi all,
>>
>how do I avoid the DOS console show-up when starting a WinXP GUI
>application with mouseclick on the respective Python file?
>
rename yourfile.py to yourfile.pyw

Jarek Zgoda
Guest
 
Posts: n/a
#4: Jan 20 '07

re: Win GUI application: avoiding DOS console


Siggi napisa³(a):
Quote:
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/
siggi
Guest
 
Posts: n/a
#5: Jan 22 '07

re: Win GUI application: avoiding DOS console



"Jarek Zgoda" wrote:
Quote:
Siggi napisa³(a):
>
Quote:
>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/
Thanks!

siggi


Closed Thread