On 2009-06-11, Tim Harig <user...@ilthio.net> wrote: > On 2009-06-11, lynvie <lyndiech...@gmail.com> wrote: >> I have a very simple program from the first chapter of a book on >> python 3 (I'm a novice). I called the program tmp.py and the data >> input file is sum.dat (just a list of numbers, 1 per line). When I >> type into my command shell "tmp.py < sum.dat" I get an error from > What OS are you using? I know that pipes cause issues when working with > interpreters on Windows. You must call the python interpreter directly or > it will not be able to handle the pipe directly. I don't remember exacly > how the issue manifests but I remember it has bitten me before on Win32. I > don't currenlty have a Windows machine to test on.
More info: http://groups.google.co.uk/group/comp.lang.python/browse_frm/thread/10d3928277319bef -- http://mail.python.org/mailman/listinfo/python-list