-1

I read that the content will be overwritten, but when I tried it, all the old content is truncated. I am confused now!

  • Overwritten in the sense that the old content is deleted in favour of the new content. – khelwood May 19 '22 at 17:43
  • 1
    The 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

0 Answers0