Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top