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 |
Use of double quotes and single quote in python?
What is the difference between remove() function and del statement?
Where will you use while rather than for?
What is sockets? Explain.
Why don’t python lambda have any statement?
Does netflix use python?
What are the tools that help to find bugs or perform analysis?
If you are ever stuck in an infinite loop, how will you break out of it?
What is setup py in python?
What does len () mean in python?
How many kinds of operators do we have in python? Explain arithmetic operators?
What is a python template engine?