Python中如何创建文件夹和嵌套文件夹的方法
1、mkdir()—》用于创建单个文件夹。
f=os.mkdir(“e:\\wuxiaobing”)
2、makedirs–》创建嵌套的文件夹
f=os.makedirs(“e:\\wuxiaobing1\\1\\2\\”)
转载自:https://blog.csdn.net/wuxiaobingandbob/article/details/47780453
1、mkdir()—》用于创建单个文件夹。
f=os.mkdir(“e:\\wuxiaobing”)
2、makedirs–》创建嵌套的文件夹
f=os.makedirs(“e:\\wuxiaobing1\\1\\2\\”)
转载自:https://blog.csdn.net/wuxiaobingandbob/article/details/47780453