I'm attempint to write a python application that will open a .csv file and look at comun one for certain string. If the string match print the row to a new .csv file.
import csv
input_file = csv.DictReader(open("stats.csv"))
for row in input_file:
print row