Re: Compress cPickled object with zlib ==> store in DB?
Martin Jenkins <mj-Vfh7fEhEWOlaa/[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Organization | XQP Ltd |
| Message-ID | <[email protected]> |
Andrea Gavana wrote: > Hi All, > > I was wondering if it is possible to use zlib.compress() to > compress a cPickled object and store it into a database, and then > retrieve it using zlib.decompress(). I have tried for a while, but I > keep getting errors like: Have a look at the blob code in the vertical table example. Martin