shutil (或称为 shell 工具)模块中包含一些函数,让你可以在Python程序中复制、移动、重命名和删除文件。要使用 shutil 的函数,首先需要导入 shutil 模块。
shutil
shell