Python 创建文件夹
创建文件夹
# 创建文件夹,用makedirs参数
if not os.path.isdir('{}/{}'.format(RootDirPath, DirPath)):
os.makedirs('{}/{}'.format(RootDirPath, DirPath))
本文来自博客园,作者:赫凯,转载请注明原文链接:https://www.cnblogs.com/heKaiii/p/15491189.html
创建文件夹
# 创建文件夹,用makedirs参数
if not os.path.isdir('{}/{}'.format(RootDirPath, DirPath)):
os.makedirs('{}/{}'.format(RootDirPath, DirPath))
本文来自博客园,作者:赫凯,转载请注明原文链接:https://www.cnblogs.com/heKaiii/p/15491189.html