मराठी

Define pickling in Python. Explain serialization and deserialization of Python object.

Advertisements
Advertisements

प्रश्न

Define pickling in Python. Explain serialization and deserialization of Python object.

टीपा लिहा
Advertisements

उत्तर

Pickling or Serialization is the process of converting Python object hierarchy into a byte stream so that it can be written into a file.

Pickling converts an object byte stream in such a way that it can be reconstructed in original from when unpickled or deserialised.

Deserialization or Unpickling is the inverse process of Pickling where a byte stream is converted into an object hierarchy. Unpickling produces the exact replica of the original object.

shaalaa.com
The Pickle Module in Python
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 2: File Handling in Python - Exercise [पृष्ठ ३८]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 12
पाठ 2 File Handling in Python
Exercise | Q 9. | पृष्ठ ३८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×