Discussion Forum | Board Infinity

What is pickling and unpickling in python?

Pickling and Unpicking in Python.

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. Pickling (and unpickling) is alternatively known as serialization, marshaling, or flattening.