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 the difference between raw_input() and input() in python?
Which is best framework for python?
How to call a function of a module by using its name (a string)?
What is the best free website to learn python?
What is GIL? What does it do?Talk to me about the GIL. How does it impact concurrency in Python? What kinds of applications does it impact more than others?
Which method will be used to delete a file ?
Can I use python instead of javascript?
How do I delete a file?
What is lambda? Why do lambda forms not have statements?
Why is python so slow?
What is the Lambda function?
What is python identifiers?