📜  重命名文件夹 python 代码示例

📅  最后修改于: 2022-03-11 14:46:37.453000             🧑  作者: Mango

代码示例2
from pathlib import Path

path = Path("D:\test")
temp = path.rename("Enter new folder name")

new_path = temp.absolute()