[Tutor] What is the best way to save and reload?

mandy b leomandy at hotmail.com
Tue Oct 5 20:14:20 CEST 2004


I have looked at that too, and have tried both, but is there a certain place 
it needs to be in the code?  Because nothing I have done has worked.
Thanks,
mandy b

>From: Bob Gailer <bgailer at alum.rpi.edu>
>To: "mandy b" <leomandy at hotmail.com>, tutor at python.org
>Subject: Re: [Tutor] What is the best way to save and reload?
>Date: Mon, 04 Oct 2004 21:50:25 -0600
>
>At 08:08 PM 10/4/2004, mandy b wrote:
>>I have a program and I am wondering how I go about saving and reloading it 
>>so that it remembers what happens each time it is run?  I have been 
>>reading the tutorials, but I do not understand where I am supposed to 
>>insert this (pickle) into the code I already have.  I am not even sure of 
>>how to pickle the exact info I want to be saved from each run.  I am very 
>>new at this, and any guidance would be helpful.
>
>Take a look at the shelve module.
>
>Bob Gailer
>bgailer at alum.rpi.edu
>303 442 2625 home
>720 938 2625 cell
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Tutor mailing list