KnowledgeBoat Logo

Computer Science

When you open a file for appending, if the file exists, the existing file is overwritten with the new file.

Python File Handling

2 Likes

Answer

False

Reason — When we open a file for appending using a mode (text files) or ab mode (binary files), if the file exists, the data in the file is retained and new data being written will be appended to the end.

Answered By

2 Likes


Related Questions