run command line on Windows without showing DOS console window
laurent.pointal at free.fr
Wed Nov 20 22:35:11 CET 2013
Tim Golden wrote:
> On 20/11/2013 14:44, iMath wrote:
>> is there anyway to run command line on Windows without showing DOS
>> console window ?
>> can you use the following command line to give a little example ?
>> wget -r -np -nd http://example.com/packages/
>> the path to wget is C:\Program Files\GnuWin32\bin\wget.exe
> subprocess.call(["wget", "-r", "-np", "-nd", "http://example.com"])
Complement: use .pyw extension for your main Python module (avoid Python
opening a console).
Laurent POINTAL - laurent.pointal at laposte.net
More information about the Python-list