0
点赞
收藏
分享

微信扫一扫

python判断文件夹是否存在,不存在则创建它

书呆鱼 2022-03-11 阅读 147
python
import os
if not os.path.exists(path):
       os.mkdir(path)
举报

相关推荐

0 条评论