結果 : python get directory from string