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 print format value interpolation?
Describe python usage in web programming?
What is a static method python?
What types are iterable in python?
How do you get the current working directory using python?
What is the use of __ init __ py in python?
What is python list function?
If you installed a module with pip but it doesn’t import in your idle, what could it possibly be?
Write a program to find the given string in the line?
Can a class be static?
How many types of operators python has?
What are membership operators in python?