If i write this in command prompt: \"senna-win32.exe < input.txt >output.txt\" it works perfect but i need to do this from python code, how is this possible?
I hav
Thank you Jack!!!
import subprocess myinput = open('in.txt') myoutput = open('out.txt', 'w') p = subprocess.Popen('senna-win32.exe', stdin=myinput, stdout=myoutput) p.wait() myoutput.flush()