cPickle

gopal mishra gopalm at infotechsw.com
Thu Sep 4 05:28:13 EDT 2008


I have 3 objects and want to save in one pickle file. 

I used cPickle to dump 3 objects in a pkl file 

i.e  cPickle.dump(object1, fileobject,  -1) 

                 cPickle.dump(object2, fileobject,  -1)

                 cPickle.dump(object3, fileobject,  -1)

 

I have changed the 3rd object and  want to save the updated 3rd object in
the pickle file. 

I have to dump all the 3 objects again.

 

Is there any way to dump only the 3rd object in to the pkl file.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080904/c0f18b27/attachment.html>


More information about the Python-list mailing list