python移动文件

#移动文件(目录)
shutil.move("oldpos","newpos") 
shutil.move("D:/知乎日报/latest/一张优惠券,换你的通讯录信息,你愿意吗?.pdf", "D:/知乎日报/past/")

 

posted @ 2020-12-15 16:16  胸怀丶若谷  阅读(246)  评论(0编辑  收藏  举报