【Python 檔案處理 #3】確認檔案是否存在 os.path.isfile / 確認資料夾是否存在 os.path.isdir (內附範例程式碼) sample code is folder / file exist