Kent Johnson wrote: > BRINER Cedric wrote: >> unicode(pickle.dumps(a)) doesn't work ! > > > pickle.dumps() doesn't return a value, it puts the data into 'a' which > must be a file-like object. Oops, pickle.dumps() does return a value and the parameter is the object to be pickled. I even knew that before I sent the email, but I forgot to correct it. Kent