fileInput consists of a csv file with some 30 rows and I want to access only the second row.
for row in csv.reader(fileInput):
You might want to consider using
DictReader. It'll handle the header for you and allow you to access the columns by name rather than index (which can help with keeping code readable).
import csv with open('names.csv') as csvfile: reader = csv.DictReader(csvfile) row = next(reader) print(row['first_name'], row['last_name'])