216k views
2 votes
Any object can be pickled before it is saved to a file, and then unpickled as it is loaded from a file into a program.A. TrueB. False

User Vahapt
by
4.1k points

1 Answer

2 votes

Answer:

The answer is "Option A"

Explanation:

Python uses an object structure that is available in a pickle. It is the serialization and decomposition and it also called marshaling or flattening.

  • Serialization means a process by which an object can be converted into a byte stream, which can be stored on a disc or sent across a network.
  • The reverse process is pickling is known as unpickling, it transforms byte streams (from binary file or bytes-like objects) back into hierarchy objects, that's why it is true.
User Moogal
by
4.1k points