On Sat, 25 Jun 2005 06:41:01 -0400
Kent Johnson <[EMAIL PROTECTED]> 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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to