What is pickling and unpickling?

Technology CommunityCategory: PythonWhat is pickling and unpickling?
VietMX Staff asked 3 years ago

The pickle module implements a fundamental, but powerful algorithm for serializing and de-serializing a Python object structure.

  • Pickling – is the process whereby a Python object hierarchy is converted into a byte stream,
  • Unpickling – is the inverse operation, whereby a byte stream is converted back into an object hierarchy.