with open(filename, 'rb') as infile:
    reader = csv.DictReader(infile, fieldnames=fields, delimiter='\t')
for row in reader:
    row['price'] = float(row['price'])
format strings and named arguments in Python