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

2013-08-31 Thread Steven D'Aprano
On 01/09/13 07: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. That is trickier than it sounds. You have to save the internal state of the game, which means you first have to *identify* t

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

2013-08-31 Thread Chris Down
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. pgpWT4yz_VlbP.pgp Description: PGP si

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

2013-08-31 Thread Jack Little
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. --Jack___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman