how to read the last line of a huge file???
tkpmep at hotmail.com
tkpmep at hotmail.com
Thu Mar 10 17:10:07 EST 2011
More information about the Python-list mailing list
Thu Mar 10 17:10:07 EST 2011
- Previous message (by thread): how to read the last line of a huge file???
- Next message (by thread): Numerical representation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
There is a problem, and it's a Python 3.2 problem. All the solutions presented here work perfectly well in Python 2.7.1, and they all fail at exactly the same point in Python 3.2 - it's the line that tries to seek from the end. e.g. f.seek(offset, os.SEEK_END) I'll register this as a Python bug. Thank you, everyone, for the help and guidance. Sincerely Thomas Philips
- Previous message (by thread): how to read the last line of a huge file???
- Next message (by thread): Numerical representation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list