結果 : get first directory in path python