[EMAIL PROTECTED] wrote: > Right now my code reads as follows: > > infile=file(FileName) > for line in reversed(infile.readlines()): #Search from the bottom up
Not sure if python does some tricks here - but for me that seems to be uneccesary shuffling around of data. Better do for line in reversed(infile.readlines()[:-10]): ... Diez -- http://mail.python.org/mailman/listinfo/python-list