KnowledgeBoat Logo
|

Computer Science

Opening a file in append mode erases the previous data.

Python Data Handling

3 Likes

Answer

False

Reason — Opening a file in append mode 'a' for text files or 'ab' for binary files does not erase the previous data. Instead, it allows data to be added to the end of the file without overwriting or erasing existing content.

Answered By

1 Like


Related Questions