使用os.path.exists()返回文件不存在

os.path.exists()的相对路径指的是打开项目的相对路径而不是该py文件的相对路径。
posted @ 2023-12-07 16:31  meiyou闹钟  阅读(224)  评论(0)    收藏  举报