import shutil
shutil.copyfile(oldfile, newfile) # 复制
shutil.move(oldfile, newfile) # 移动
python复制、移动文件到指定目录
猜你喜欢
转载自blog.csdn.net/coco_link/article/details/84255908
今日推荐
周排行