Python Developer Question:

Tell me what is pickling and unpickling?

Tweet Share WhatsApp

Answer:

Pickle module accepts any Python object and converts it into a string representation and dumps it into a file by using dump function, this process is called pickling. While the process of retrieving original Python objects from the stored string representation is called unpickling.

Download Python Developer PDF Read All 77 Python Developer Questions
Previous QuestionNext Question
How to copy an object in Python?Tell me what are generators in Python?