Magnus Lie Hetland wrote: > I guess so. I remember making the suggestion of > > for line in file.lines: > ... > > and > > for char in file.chars: > ... That probably should be: for line in file.lines(): ... for line in file.chars(): ... Those calls should return an iterator object. Neil