What is the pickle built-in module for?

Questions & AnswersCategory: PythonWhat is the pickle built-in module for?
Lokesh Kumar Staff asked 2 years ago

What is the pickle built-in module for?
 
a. The pickle module is used to serialize and deserialize the structure of objects in Python. The data format used by pickle is python specific. The advantage of this is that there are no restrictions imposed by external standards.
b. The pickle module is used to work with files in JSON and CSV format.
c. The pickle module is used to work with the file system.
d. The pickle module is used to copy files.

1 Answers
Lokesh Kumar Staff answered 2 years ago

a. The pickle module is used to serialize and deserialize the structure of objects in Python. The data format used by pickle is python specific. The advantage of this is that there are no restrictions imposed by external standards.