how to transfer a python object to other computer?
Kent Johnson
kent at kentsjohnson.com
Thu Apr 20 13:47:57 EDT 2006
>> Hey, all.Now I wanna to transfer a object to other computer, Maybe I
>> could serialize the object to a file by pickle moudle, then send the file
>> and get it from the file.But I think the efficency is awful, because the
>> disk io is very slow.
>> Someone could do me a favor to give me some idea?
Use pickle.dumps() and pickle.loads() to serialize to/from a string.
Kent
More information about the Python-list
mailing list