"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