pathlib.Path('/tmp/sub1/sub2').mkdir(parents=True, exist_ok=True). 从文档:. 如果parents 为真,则根据需要创建此路径中任何缺失的父级;它们是 ...
確定! 回上一頁