如果exist_ok为False(默认值),如果目标目录已经存在则会引发 OSError 错误信息。 语法. 以下是 makedirs() 方法的语法:. os.makedirs(path[, mode]). 参数.
確定! 回上一頁