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 is web scraping?

0 Answers  


What is tuple when we have to use ?

0 Answers  


How can you prevent abnormal termination of a python program?

0 Answers  


How variables are declared in python?

0 Answers  


Which statement of python is used whenever a statement is required syntactically but the program needs no action?

0 Answers  






What is the difference between old style and new style classes in python?

0 Answers  


What is n in python?

0 Answers  


Is intel faster python?

0 Answers  


Which data type you prefer to implement when deal with seuential data?

0 Answers  


What can I build with python?

0 Answers  


What is django python?

0 Answers  


Python has something called the dictionary. Explain using an example

0 Answers  


Categories