BitVector read-from-file Question

Michael Wieher michael.wieher at gmail.com
Mon Mar 10 12:06:07 EDT 2008


I'm trying to read in data from large binary files using BitVector (thanks
btw, for whoever mentioned it on the list, its nice)

I'll be reading the data in as requested by the user, in (relatively) small
chunks as needed.

Problem is I can't read the whole file in at once (its ridiculously large)
and the object created by  BitVector(filename="path") doesn't include a
"seek" function (to reset the filepointer)

Any suggestions on how to this without
closing/reopening/reading(offset)/read(data) ? (thats a lot of overhead)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080310/06db5574/attachment.html>


More information about the Python-list mailing list