"), copy_function=shutil.copy2, ignore_dangling_symlinks=True)
# 删除目录
shutil.rmtree("temp",...ignore_errors=True)
# 移动文件/目录
shutil.move("root", "temp", copy_function=shutil.copy2)
#...=True) // 拷贝文件(数据 / 权限)
dst = shutil.copy('file.txt', 'temp.txt')
# shutil.copy2(src, dst, *,...(错误列表中添加异常)
# shutil.copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2, ignore_dangling_symlinks...=False, onerror=None) // 删除整个目录树, ignore_errors:是否忽略删除失败错误, onerror=def error(func, path, excinfo)