Python彻底删除文件夹及其子文件
#coding:utf-8import osimport statimport shutil#filePath:文件夹路径def delete_file(filePath): if os.path.exists(filePath): for fileList in os.walk(filePath): for name in fileList...