[Tutor] fileinput problem

Kevin Reeder reederk at comcast.net
Sat Jun 25 16:50:22 CEST 2005


On Sat, 25 Jun 2005 06:41:01 -0400
Kent Johnson <kent37 at tds.net> wrote:

> You named your program fileinput.py, so when you import fileinput
> you are getting your own program again instead of the library
> module. Change the name of your program and try again.

Doh! I do remember reading that somewhere before. Lesson learnt.

Kevin


More information about the Tutor mailing list