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 web scraping?
What is tuple when we have to use ?
How can you prevent abnormal termination of a python program?
How variables are declared in python?
Which statement of python is used whenever a statement is required syntactically but the program needs no action?
What is the difference between old style and new style classes in python?
What is n in python?
Is intel faster python?
Which data type you prefer to implement when deal with seuential data?
What can I build with python?
What is django python?
Python has something called the dictionary. Explain using an example