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
Harig wrote:
>
> > 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
&g