I read that the content will be overwritten, but when I tried it, all the old content is truncated. I am confused now!
Asked
Active
Viewed 19 times
-1
-
Overwritten in the sense that the old content is deleted in favour of the new content. – khelwood May 19 '22 at 17:43
-
1The answer you are looking for is here: [Difference between modes a, a+, w, w+, and r+ in built-in open function?](https://stackoverflow.com/questions/1466000/difference-between-modes-a-a-w-w-and-r-in-built-in-open-function) – Marco Bonelli May 19 '22 at 17:45