pathlib Path `write_text` in append mode
Not really, as you can see in the pathlib module exist 2 types of path classes: pure path classes {PurePath, PurePosixPath, PureWindowsPath} concrete path classes {Path, PosixPath, WindowsPath}. Parameters of theses classes constructors will be just *pathsegments. And if you look at the available read/write methods (read_text/read_bytes and write_text/write_bytes) you’ll also see mode won’t be … Read more