結果 : python check if dir or file