結果 : check if directory python