4 ms·
There are lots of reasons to close a file when you are done with it, especially if you are writing to that file. These considerations are not about “pythonicity
by Skunkleton 6y ago
There are lots of reasons to close a file when you are done with it, especially if you are writing to that file. These considerations are not about “pythonicity”, but rather about best practices for unix.