看板 Python 關於我們 聯絡資訊
請問一下 我想判斷aaa檔名的檔案存不存在 在python要如何寫呢 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.57.149.215
seLain:極簡版 : os.path.exists("aaa") 06/19 19:47
seLain:強大版的話 : google("python check if file exist") 06/19 19:48