compressed serialization module
Joe Strout
joe at strout.net
Mon Nov 17 13:09:47 EST 2008
On Nov 17, 2008, at 10:47 AM, Mark wrote:
> I used pickle and found the file was saved in text format. I wonder
> whether anyone is familiar with a good compact off-the-shelf module
> available that will save in compressed format... or maybe an opinion
> on a smart approach for making a custom one?
Well, here's a thought: create a zip file (using the standard zipfile
module), and pickle your data into that.
HTH,
- Joe
More information about the Python-list
mailing list