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

What language is python based on?

1 Answers  


How do you convert string as a variable name in python?

1 Answers  


Why do we use __ init __ in python?

1 Answers  


What are the reserved words in python?

1 Answers  


Is python used for frontend or backend?

1 Answers  


What is the difference between the shallow copy and deep copy in python?

1 Answers  


What does ‘#’ symbol do in python?

1 Answers  


Is r easier than python?

1 Answers  


What is gil in python?

1 Answers  


How long can an identifier be in python?

1 Answers  


How you can minimize the memcached server outages in your python development?

1 Answers  


What is the difference between = and == in python?

4 Answers  


Categories