[BangPypers] Pickle multiple objects

Aneesh A aneesh.nl at gmail.com
Wed Oct 7 09:44:00 CEST 2009


Hi friends,
   I am new to python world. I am doing a small python game ( command line
based). The problem is:

I have to store high scores, so i pickled a list . after pickling, in append
mode, load method loads only first object.

How to retrieve multiple objects??

I am attaching a source.

Look the alpha.

-- 
+91 903 755 72 73

For all hardware and software services, Computer assembling, Software
Installation etc.
My blog : http://xtenders.blogspot.com/
Earn money by Read/Write Articles:
http://tr.im/znaZ
Reading mails: http://tr.im/yEYk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20091007/3d0b0acb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guess_me_0.9_alpha_1.py
Type: application/octet-stream
Size: 4077 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20091007/3d0b0acb/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guess_me_0.4_stable.py
Type: application/octet-stream
Size: 2259 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20091007/3d0b0acb/attachment-0001.obj>


More information about the BangPypers mailing list