use pathlib instead of os.path
The following discussion from !1 (merged) should be addressed:
-
@erxleb87 started a discussion: Please don't use
os.path
anymore. It is a sad zombie from the Python 2 days kept alive by the pure stubbornness of programmers who refuse to adoptpathlib