3 text_file = open("out.log.txt", "r")
9 for line in log.splitlines():
10 if 'Total success rate: ' in line:
12 data.append(ll[0][24:])
15 text_file = open("rates.csv", "w")
16 text_file.write('Add,Delete\n')
17 text_file.write('{0},{1}\n'.format(data[0], data[1]))