This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients mishok13, rhettinger, skip.montanaro
Date 2008-07-27.03:23:42
SpamBayes Score 0.0070867576
Marked as misclassified No
Message-id <1217129025.38.0.66833746732.issue3436@psf.upfronthosting.co.za>
In-reply-to
Content
I should also point out that I've generally used this technique to 
populate the fieldnames attribute from the file:

    f = open("somefile.csv", "rb")
    rdr = csv.DictReader(f, fieldnames=csv.reader(f).next())

So it is fairly trivial to set the fieldnames attribute before actually
reading any data rows.
History
Date User Action Args
2008-07-27 03:23:45skip.montanarosetrecipients: + skip.montanaro, rhettinger, mishok13
2008-07-27 03:23:45skip.montanarosetmessageid: <1217129025.38.0.66833746732.issue3436@psf.upfronthosting.co.za>
2008-07-27 03:23:42skip.montanarolinkissue3436 messages
2008-07-27 03:23:42skip.montanarocreate