可以在代码最后添加以下代码段,实现删除指定文件的功能:

import os

os.remove("../radRes.txt") os.remove("../jsfinderRes.txt")

print("=> radRes.txt和jsfinderRes.txt已删除!")

我会给你一段代码import requestsimport threadingimport refile1 = openjsfinderRestxt rfile2 = openradRestxt rfile1_content = file1readfile2_content = file2readAlive_file = openAlivetxt wAlive_filewritefile1_con

原文地址: https://www.cveoy.top/t/topic/XRS 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录