[Tutor] about calling external program in Python

Mu Mu mumufitt at gmail.com
Wed May 17 08:16:39 CEST 2006


Dear all,

I'm trying to call an executable program in Python. I did the following, but
it doesn't work. Any help is appreciated.

os.system('C:\Program Files\EPANET2\epanet2d.exe  C:\simulation
test\Network3_1.inp  C:\simulation test\Network3_1.out')


Thanks.

J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060517/8d5499f6/attachment.html 


More information about the Tutor mailing list