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