Problem while reading a text file in reverse order.

Srihari Vijayaraghavan harisri at bigpond.com
Wed May 1 20:30:06 EDT 2002


Hello Greg,

"Greg Krohn" <gkrohn at tcq.net> wrote in message 
> Very easy to fix. Open the file in binary mode:
> 
> f = open(myfile, 'rb')

Fantastic! It works. That is a clever trick.

Thanks,
Hari,
harisri at bigpond.com



More information about the Python-list mailing list