* separated values

Skip Montanaro skip at pobox.com
Tue Jan 15 12:04:45 EST 2002


    >> I suggest Dave Cole's csv module (fast, easy to use, appears complete) be
    >> added to the core:
    >> 
    >> http://www.object-craft.com.au/projects/csv/
 
    Simon> I've used Laurence Tratt's ASV module -
    Simon> <http://tratt.net/laurie/python/asv/> - with some success. It's
    Simon> pure-Python, so it may be a bit slower than the module that you
    Simon> mention (though I haven't checked this out). It's fairly
    Simon> flexible, though - it can read TSV files and so on in addition to
    Simon> CSVs, and can be told to recognise column headings in the first
    Simon> row.

I used ASV's predecessor (strangely enough it was named CSV).  I found the
switch to Cole's csv module to be pretty straightforward, and for the sizes
of CSV files I manipulate (several megabytes), I need the performance.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)




More information about the Python-list mailing list