The pickle module implements an algorithm for turning an arbitrary Python object into a series of bytes. This process is also called serializing the object. The byte stream representing the object can then be transmitted or stored, and later reconstructed to create a new object with the same characteristics.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.