Running a DOS exe file from python

Rinzwind w.damen at gmail.com
Fri Jan 27 01:49:32 EST 2006


Hello,

Something like this:
progname = 'c:\tmp\myprog.exe arg1 '+'-- help'
os.system(r'progname)

should work too.
So you should be able to change progname to any location you need to
start it and all the args to whatever is needed.




More information about the Python-list mailing list