結果 : python determine if file is directory