I am going through Zed Shaw\'s Python Book. I am currently working on the opening and reading files chapters. I am wondering why we need to do a truncate, when we are alread
That's just a reflection of the standard posix semantics. see man fopen(3). Python just wraps that.