[Tutor] how to save variables after a user quits in python

Chris Down chris at chrisdown.name
Sun Sep 1 00:13:12 CEST 2013


On 2013-08-31 14:30, Jack Little wrote:
> I am coding a game and I want the player to be able to quit the game and
> immediately take off right from where they started from.

If you're asking how to store variables between sessions, look at the pickle
module.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20130901/83bf01b0/attachment.sig>


More information about the Tutor mailing list