[Tutor] CSV file processing...

Kent Johnson kent37 at tds.net
Fri Mar 21 18:54:31 CET 2008


Spencer Parker wrote:
> So if my long row is row two...how do I tell it to use row 2?

csv_data = csv.reader(file('output.txt','r'))
headers = csv_data.next() # Skip header row
row = csv_data.next() # The row with data

Kent


More information about the Tutor mailing list