Conversion of an object hierarchy in byte stream is called Serialisation.
2 Likes
True
Reason — Serialisation is the process of converting Python object hierarchy into a byte stream, so that it can be written into a file.
Answered By
When you open a file for writing, if the file does not exist, a new file is created.
When you open a file for appending, if the file exists, the existing file is overwritten with the new file.
Serialisation process is also called pickling.
The load() function of the pickle module performs pickling.