import shutil
shutil.copyfile(oldfile, newfile) # 复制
shutil.move(oldfile, newfile) # 移动
python复制、移动文件到指定目录
最新推荐文章于 2025-10-30 13:40:16 发布
import shutil
shutil.copyfile(oldfile, newfile) # 复制
shutil.move(oldfile, newfile) # 移动
3035

被折叠的 条评论
为什么被折叠?