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 can you copy objects in python?

0 Answers  


How can you create a gui based application in python for client-side functionality?

0 Answers  


What is <yield> keyword in python?

0 Answers  


What exactly are pandas?

2 Answers  


Explain all the file processing modes supported by python?

0 Answers  






What does r before string in python mean?

0 Answers  


post me some questions from pythom script

1 Answers   Infosys,


How do I run python in notepad ++?

0 Answers  


How to use the slicing operator in Python?

3 Answers  


Does python have static classes?

0 Answers  


What is variable length argument in function?

0 Answers  


Is set ordered in python?

0 Answers  


Categories