> Traceback (most recent call last):
>   File "./Python/fileinput.py", line 1, in ?
>     import sys, string, fileinput

You are importing fileinput from a file called fileinput.
It therefore reads your file and notices that you have 
no input method...

Don't call your program the same name as the module!

HTH,

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to