The code is printing results to the a URL:
result = test2
try:
resultData = {'l': result}
r = requests.post('http://site.com/a.php', data = resultData)
except:
pass
self.testingWP(test2, session, ret)
return ret
Instead of printing results on the URL, I would like to get the results in > output.txt
Thanks