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 ide should I use for python?
What is range() in python?
What is class inheritance in python?
How do you show hello world in python?
What are the steps required to make a script executable on Unix?
How to check the string consists of alphanumeric characters ?
What is different between class and object?
Why do we need break and continue in python?
Which website is best for learning python?
What is the difference between re.search and re.match?
Do you know what is lambda in python?
Which all are the operating system that Python can run on?