Unpickling from strings

Michael Ströder michael at stroeder.com
Wed Mar 14 08:56:05 CET 2001


Doug Fort wrote:
> 
> Perhaps it is getting garbled in transmission.  We quote ours:
> 
>     urllib.quote_plus(cPickle.dumps(self._statsdict))

I would pickle it as binary and base64-encode that. The pickled
string might be shorter.

Ciao, Michael.



More information about the Python-list mailing list