Retrieving a partial pickle

Paul Rubin http
Sat Jul 18 06:49:02 CEST 2009


Zac Burns <zac256 at gmail.com> writes:
> I have a large pickle file, which happens to be a list with lots of
> objects in it.
> What sort of things can I do without unpickling the whole object?

If it's for some kind of data recovery of a busted file, you could
code some awful hack to pull stuff out of the middle of the pickle,
but that's not the idea.  You may want the shelve module.



More information about the Python-list mailing list