File: How to read the last line?

Usenet User mail at to.me
Wed May 5 22:25:59 EDT 1999


How can I jump to the last non-empty line in a openned file? 
Do I have to use readlines() and go to the last item in the
list? What if it is a large text file? 
Thanks.




More information about the Python-list mailing list