im reading a csv file and then writing a new one:
import csv with open(\'thefile.csv\', \'rb\') as f: data = list(csv.reader(f)) import collections count
Force the writer to clean up:
del writer