import os
if os.path.exists(dst_path):
os.remove(dst_path)
python os判断文件是否存在,存在则删去
最新推荐文章于 2024-03-27 22:15:35 发布
import os
if os.path.exists(dst_path):
os.remove(dst_path)