python建立文件夹

filePath = 'D:\12345'file

# 判断文件夹是否存在,不存在则建立文件夹
if not os.path.exists(filePath):
  os.makedirs(filePath)di

相关文章
相关标签/搜索