file.seek misbehaving?

Pete Shinners pshinners at mediaone.net
Sat Jun 3 14:57:47 EDT 2000


"cheesecake" wrote
> I've run into a problem that is perhaps not a Python-specific
> bug. I was processing some log files using Python, when I
> noticed some mysterious bugs in certain files. I tracked down
> the problem to the seek method misbehaving.

you might get better results if you open the file in BINARY mode






More information about the Python-list mailing list