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