Re: [Tutor] Opening a dos exe

2010-03-13 Thread Ray Parrish
Alan Gauld wrote: "Ray Parrish" wrote but I cannot find a way of getting this information to the dos program from python. Any ideas? You could use os.system("startprogram.bat"), and create startprogram.bat to run the dos program, and feed it the files, either all at once, or one at a time vi

Re: [Tutor] Opening a dos exe

2010-03-13 Thread Alan Gauld
"Ray Parrish" wrote but I cannot find a way of getting this information to the dos program from python. Any ideas? You could use os.system("startprogram.bat"), and create startprogram.bat to run the dos program, and feed it the files, either all at once, or one at a time via the command lin

Re: [Tutor] Opening a dos exe

2010-03-13 Thread Ray Parrish
Emile van Sebille wrote: On 3/10/2010 11:33 AM Armstrong, Richard J. said... 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 idea

Re: [Tutor] Opening a dos exe

2010-03-11 Thread Alan Gauld
"Emile van Sebille" wrote I've sometimes written python code to create wsh (and other) scripts that I then run from within python. WSH include a sendkeys command IIRC that works with dos/command/cmd windows. There's likely ways to use the win32 api as well (win32api.keybd_event?). Using

Re: [Tutor] Opening a dos exe

2010-03-11 Thread Emile van Sebille
On 3/10/2010 11:33 AM Armstrong, Richard J. said... 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? I've sometimes writte