python-shutil模块

import shutil
# 删除指定文件夹
shutil.rmtree(r'D:uiautoyy20200913report')
原文地址:https://www.cnblogs.com/12260420zxx/p/13663837.html