Python Pathlib Get Directory Command Line