I learned of Python's pathlib.Path.(read|write)_(text|bytes) too late. Now, every time I see a with statement to open a file and read/write the contents in one go, I think that the word should be spreaded more.