Reading variable length records...

Bjorn Pettersen BPettersen at
Thu Sep 13 00:21:47 CEST 2001

I'm trying to read records from a 2 GB datafile, but my brain has
stopped working, so I was wondering if someone has allready solved this
problem. The records are variable length and are separated by a five
character delimiter. I was trying to use with a blocksize
of ~1Mb, but got a serious brainfart when trying to think of how to
handle the case where only part of the delimiter was read in the current


-- bjorn

More information about the Python-list mailing list