文件读写
1 #w+会覆盖, a+不覆盖 2 for url in urls: 3 result = verify(url) 4 data = open(‘data.txt‘,‘a+‘) 5 print(result,file=data) 6 data.close()
原文地址:https://www.cnblogs.com/AtesetEnginner/p/11242077.html
时间: 2024-10-18 07:38:12
文件读写
1 #w+会覆盖, a+不覆盖 2 for url in urls: 3 result = verify(url) 4 data = open(‘data.txt‘,‘a+‘) 5 print(result,file=data) 6 data.close()
原文地址:https://www.cnblogs.com/AtesetEnginner/p/11242077.html