Python Developer Question:
Download Questions PDF

Tell me what is pickling and unpickling?

Python Developer Interview Question
Python Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How to copy an object in Python?Tell me what are generators in Python?