import shutil
shutil.move(r"E:\Untitled-1.txt",r"E:\自动化办公\重新改名.txt")
shutil.move("旧文件夹路径","新文件夹路径")

 

相关文章:

  • 2021-11-12
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-12-24
猜你喜欢
  • 2022-01-07
  • 2021-12-24
  • 2022-12-23
  • 2022-03-05
相关资源
相似解决方案