Explain pickling and unpickling.



Explain pickling and unpickling...

Answer / chaitanya

pickle is a standard module which serializes & de-serializes a python object structure.

pickle module accepts any python object converts it into a string representation & dumps it into a file(by using dump() function) which can be used later, process is called pickling. Whereas unpickling is process of retrieving original python object from the stored string representation for use.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

How do you remove duplicates from a list in python whilst preserving order?

0 Answers  


Why do arrays have a 0 in it?

0 Answers  


Is it easier than Django bottle?

0 Answers  


How do I interface to c++ objects from python?

0 Answers  


Explain class __init__()?

0 Answers  






What are different methods to copy an object in python?

0 Answers  


What is PEP8?

0 Answers  


Do you know what the difference between lists and tuples is? Can you give

0 Answers  


What are the steps required to make a script executable on Unix?

1 Answers  


What is super () __ init__ in python?

0 Answers  


How does python sort work?

0 Answers  


Explain me what are the principal differences between the lambda and def?

0 Answers  


Categories