# 创建递归文件夹
def createfiles(filepathname):
try:
os.makedirs(filepathname)
except Exception as err:
print(str(filepathname) + "已经存在!")
filepathname为目录,类型为
"../data/"
or"E:/data/"
2023-09-23 12:23:33
# 创建递归文件夹
def createfiles(filepathname):
try:
os.makedirs(filepathname)
except Exception as err:
print(str(filepathname) + "已经存在!")
filepathname为目录,类型为
"../data/"
or"E:/data/"