Re: what does "lost sys.stdin" error mean?

2009-06-11 Thread Tim Harig
On 2009-06-11, lynvie 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 fr

what does "lost sys.stdin" error mean?

2009-06-11 Thread lynvie
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 "line=input()" -- that's line 7 fro