The problem with pathlib
is that it normalizes away critical information so can't be used in many situations.
./path
should not be path
should not be path/
.
Also the article is wrong about "Path('some\\path')
becomes some/path
on Linux/Mac."