Google News
logo
Flask - Interview Questions
What are pickling and unpickling?
To make a portable and serialized representations of Python objects, we have the module known as pickle which accepts a Python object (basically everything in Python is an object) and then converts it into a string type, and after that uses the dump () function to dump it into a file. We term this as pickling. On the contrary, retrieving objects from the stored string forms is called as unpickling.
Advertisement