> 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? > > Best Wish.
You will send the pickle file over a network, won't you? Then that will be much slower than disk i/o anyway so no need to worry about that. Pickling/unpickling by the cPickle module is fast and sending the pickle file is probably the best way to send python objects. -- http://mail.python.org/mailman/listinfo/python-list