結果 : python check is directory or file