Shelve or pickle module

Guillaume Bog guibog at gmail.com
Sat May 17 23:14:19 EDT 2008


Hello,

I read and re-read "Python in a Nutshell" written by Alex Martelli,
who knows what he is talking about. I'm a bit new to python and I'm
going to start doing persistence side on a project. Martelli's book
seems to tell me that I should use shelve module, but any code I
browsed is using pickle instead. Is there any reason to prefer pickle
over shelve?

Thanks,



More information about the Python-list mailing list