创建目录

import os

# 创建的目录
path = "D:/gaona/liuhai/i love you"

os.makedirs( path )

原文地址:https://www.cnblogs.com/gaona666/p/12337065.html