Question: Is it possible to read in a CSV file in Python one field at a time rather than an entire row? I have an input that is a single row with a large amount of comma separated values. I need to progress through the file one value at a time.

Answer: 
read the row and then use split

```
f=open(filename,'r')
fields=f.readline().split(',')

```

now fields[i] is the i-th field
Assuming that you're using a csv reader my\_reader ...

```
row_stream = (row for row in my_reader)
field_stream = (field for field in row)
for field in field_stream:
    ....

```

This gives you a stream of fields instead of a sequence of csv rows. If you replace the "for" expression with a generator comprehension, you can continue the pipeline.