Jp Calderone <[EMAIL PROTECTED]> wrote: > Yes, but you need to do it like this: > > fileIter = iter(big_file) > for line in fileIter: > line_after = fileIter.next()
That's better than the solution I posted. -- http://mail.python.org/mailman/listinfo/python-list