本文共 132 字,大约阅读时间需要 1 分钟。
需求:使用 pathlib 创建多级文件夹。
pathlib.Path('./data').mkdir(parents=True, exist_ok=True)
转载地址:http://scckn.baihongyu.com/