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 |
How can you copy objects in python?
How can you create a gui based application in python for client-side functionality?
What is <yield> keyword in python?
What exactly are pandas?
Explain all the file processing modes supported by python?
What does r before string in python mean?
post me some questions from pythom script
How do I run python in notepad ++?
How to use the slicing operator in Python?
Does python have static classes?
What is variable length argument in function?
Is set ordered in python?