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 |
What is python main function and write one good example?
How to concatenate two lists in python?
What does while 1 mean in python?
What is the Lambda function?
What makes python object-oriented?
How to get current directory using python?
What does none type mean in python?
Are strings mutable in python?
Is Python a compiled language or an interpreted language?
Which ide is best for python on windows?
What is the output of the below code?
What is a static relationship?