Further Reading
Many articles about the pickle module make references to cPickle. In Python 2, there were two implementations of the pickle module, one written in pure Python and another written in C (but still callable from Python). In Python 3, these two modules have been consolidated, so you should always just import pickle. You may find these articles useful, but you should ignore the now-obsolete information about cPickle.
On pickling with the pickle
module:
- pickle module
- pickle and cPickle — Python object serialization
- Using pickle
- Python persistence management
On JSON and the json
module:
- json — JavaScript Object Notation Serializer
- JSON encoding and ecoding with custom objects in Python
On pickle extensibility:
Get hands-on with 1400+ tech skills courses.