python 判断文件是否存在

import os

os.path.exists

 

os.path.exists(filename)
posted @ 2020-12-26 18:45  bH1pJ  阅读(11)  评论(0编辑  收藏  举报