pathlib 模块: 使用parent属性后调用join()连接相关路径,简洁明了 import pathlib Pa = pathlib.Path() paths = ["New","test1.txt"] ...
確定! 回上一頁