Python Pathlib Get Path Without Filename Or File