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

Is map faster than for loop python?

0 Answers  


Are tuples hashable?

0 Answers  


What is the incorrect declaration of a set?

0 Answers  


What advantages do numpy arrays offer over (nested) python lists?

0 Answers  


Which software is used for python?

0 Answers  






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

0 Answers  


Which is better perl or python?

0 Answers  


How do you split a list into evenly sized chunks in python?

0 Answers  


What is the keyword to import a module in python?

0 Answers  


Mention what is the difference between Django, Pyramid, and Flask.

0 Answers  


Does python have private methods?

0 Answers  


How can you unsign or delete variable in python?

0 Answers  


Categories