[Tutor] Income calculator
Alan Gauld
alan.gauld at btinternet.com
Thu Sep 20 14:52:30 CEST 2007
"bhaaluu" <bhaaluu at gmail.com> wrote
> Now he needs to add a way to save the details to a file, and open
> the file to edit the details. If I'm not mistaken, since the details
> are
> in dictionary form, a 'pickle' is called for? =)
I think you are thinking of a shelve which looks a lot like a
dictionary on file.
A pickle can dsave any kind of object not just dictionaries.
Shelve uses pickle to store its values.
Alan G.
More information about the Tutor
mailing list