Question

Which are the protocols I can use in the shelve module of Python besides Pickle? What are the differences between them?

Était-ce utile?

La solution

Deciding by http://docs.python.org/2/library/shelve.html, shelve only works with pickle; the protocol parameter simply seems to specify the pickle version.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top