Question:

What is pickling in Python?

Updated On: Nov 4, 2024
  • It is used to deserialize objects, i.e., converting the byte stream to object hierarchy.
  • It is used to serialize objects, i.e., to convert Python object hierarchy to byte stream.
  • It is used to move the file pointer to a specific location.
  • It is used in exception handling.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Pickling in Python is the process of serializing objects into a byte stream, which can then be saved or transferred.
Was this answer helpful?
0
0