<div dir="ltr">I'd like to run a program so that it reads the input() or raw_input() statements from an input file instead of<br>
reading from keyboard. I'd also like it to write the print statements in an output file rather than on the screen.<br><br>I'm on windows XP and when I run:<br>
prog_name.py input_file output_file<br><br>I get an EOF error.<br><br>What should I do to make this work?<br><br>Thx,<br>David<br><br>
</div>