結果 : get directory of filepath python