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

Mark Kels Mark.Kels at gmail.com
Tue Oct 5 20:56:52 CEST 2004


Using the shelve module is like using a dictionarty.
The only difference is that you must open the file first, and it is
done like  this:
book = shelve.open("addresses")

Here is a simple tutorial about shelving objects - 
http://www.wdvl.com/Authoring/Languages/Python/Quick/python6_3.html

Good luck!!


More information about the Tutor mailing list