What do you mean by pickling and unpickling?

devquora
devquora

Posted On: Feb 22, 2018

 

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.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Python Flask Interview Questions

    What are the features of Flask Python?

    Flask Python is one of the newest frameworks of Python and is used for designing web applications for the following feat..

    Python Flask Interview Questions

    What are the advantages of Flask Python?

    Flask Python comes with all the advantages of Python and some additional pros of it are:Flasks design is lightweight ..

    Python Flask Interview Questions

    What is Flask-WTF and what are their features?

    Flask-WTF is featured to offer simple integration with WTForms. The Features include for Flask WTF are:Provides Integr..