Thoughts about Python

Rainer Deyke rainerd at eldwood.com
Wed Feb 25 20:19:14 CET 2004


Mike C. Fletcher wrote:
> Actually, this is the classic problem of data-escaping.  It's
> *possible* to guarantee unique values when encoding as a string, but
> it's a *lot* harder than just doing str( data ).

In Python it's one extra line of code.

from pickle import dumps
dumps(data)



-- 
Rainer Deyke - rainerd at eldwood.com - http://eldwood.com





More information about the Python-list mailing list