python学习网
首页
分类
python学习笔记
未分类
python创建文件夹
python学习网
2019-11-30 00:00:02
filePath = 'D:\12345'
# 判断文件夹是否存在,不存在则创建文件夹
if not os.path.exists(filePath):
os.makedirs(filePath)
阅读(2475) 评论(0)
Copyright ©
python学习网