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 |
Which is best gui for python?
What is a counter in python?
What is difference between list and set in python?
Explain how to overload constructors (or methods) in Python.
What static means?
What is complex type in python?
Is python good for oop?
Is upper in python?
How useful is python?
What are the arithmetic operators that python supports?
How do you launch sub-processes within the main process of a python application?
What is __ getitem __?