[Tutor] Opening a dos exe

Armstrong, Richard J. rarmstro at water.ca.gov
Wed Mar 10 20:33:46 CET 2010




There is one task that I am trying to do but I cannot find the answer on
the web - I hope that you can help. It is a rather simple problem. I
want to open up a dos program and then run it. I can do that part with
os.system. The problem comes in that the dos program requires three
inputs (input1.txt, input2.txt and input3.txt - see attached picture)
but I cannot find a way of getting this information to the dos program
from python. Any ideas?


Thank you,


Richard Armstrong


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100310/f7e0384a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.pdf
Type: application/octet-stream
Size: 352802 bytes
Desc: Screenshot.pdf
URL: <http://mail.python.org/pipermail/tutor/attachments/20100310/f7e0384a/attachment-0001.obj>

More information about the Tutor mailing list