csv.DictWriter.write_header()

Alan G Isaac alan.isaac at gmail.com
Wed Aug 12 22:45:43 CEST 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