結果 : extract directory name from path python