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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top