>>     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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to