Python 2 has both the pickle and cPickle modules for serialization.
cPickle has an obvious advantage over pickle: spe
I found this regarding pickle and cPickle:
"The pickle module implements an algorithm for turning an arbitrary Python object into a series of bytes....
The cPickle module implements the same algorithm, in C instead of Python. It is many times faster than the Python implementation, but does not allow the user to subclass from Pickle.
If subclassing is not important for your use, you probably want to use cPickle."
Source: https://pymotw.com/2/pickle/