結果 : python pathlib check if path is file or directory