Python Developer Question:
Tell me what is pickling and unpickling?
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.
Previous Question | Next Question |
How to copy an object in Python? | Tell me what are generators in Python? |