摘要: 参考: https://docs.python.org/zh-cn/3/library/pathlib.html#correspondence-to-tools-in-the-os-module Path.parents # 返回所有上级目录的列表 Path.parts # 分割路径 类似os.pa 阅读全文
posted @ 2021-09-26 12:32 linbo.yang 阅读(111) 评论(0) 推荐(0) 编辑