How to execute a cmd line program without invoking console window?

raver2046 raver2046 at gmail.com
Wed Mar 30 00:25:01 CEST 2005


Or launch it with pythonw.exe ( on windows )

Sorcier glouton http://sorcier-glouton.ath.cx


"rbt" <rbt at athop1.ath.vt.edu> a écrit dans le message de news: 
d2chli$jd$1 at solaris.cc.vt.edu...
> Tian wrote:
>> In Windows, I have been simply using os.system() to run command line
>> program in python. but there will be a black console window. How can I
>> run the program without invoking that window? i guess there are some
>> function with which I can redirect the output?
>>
>
> name your scripts with .pyw extensions instead of .py extensions 





More information about the Python-list mailing list