hi,

I have this dictionnary :

a={'partition': u'/export/diskH1/home_evol/ricquebo',
 'rsmFirstname': u'Fran\xe7ois',
 'rsmLastname': u'Ricquebourg',
 'size': u'8161222.0',
 'size_max': '1'}

and I'd like to *serialize* it with pickle and that the output format
will be of type unicode.

unicode(pickle.dumps(a)) doesn't work !
or
pickle.dumps(a,protocol=2,bin='V')

doesn't seem to work :(

what am I doing wrong ??

Cedric BRINER

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to