Python and writing a CSV file

Skip Montanaro skip at
Thu Jan 22 01:39:03 CET 2004

    Kevin> I am new to Python and would like to attempt to write to a CSV
    Kevin> file. I have reviewed the documentation at
    Kevin> for the csv 1.0
    Kevin> module but I didn't see any information referring to writing (oe
    Kevin> creating) a CSV file with this module. Does this module have the
    Kevin> capability to write a CSV file? 

Yes, but you should upgrade to 2.3 (if you haven't already) and just use the
csv module which comes with it:


More information about the Python-list mailing list