【Python Snippets】Pathlib 模块 ... from pathlib import Path # 创建文件夹 base_path ... os.path.basename(), PurePath.name, 路径名称.
確定! 回上一頁