Python Pathlib Get Directory Command