csv.DictWriter.write_header()

Alan G Isaac alan.isaac at gmail.com
Wed Aug 12 16:45:43 EDT 2009


Given a csv.DictWriter instance `dw`
I think it would be nice to be able to
say dw.write_header()
instead of
dw.writer.writerow(dw.fieldnames)

Good idea?

Alan Isaac



More information about the Python-list mailing list