Creating a new Folder with given path
This question already has an answer here:
Use the os
library, specifically os.mkdir()
https://docs.python.org/2/library/os.html#os.mkdir
For example,
path = "/usr/temp/foo"
os.mkdir(path)
链接地址: http://www.djcxy.com/p/9270.html
上一篇: 自动创建文件输出目录
下一篇: 用给定的路径创建一个新的文件夹