delimiters...

Skip Montanaro skip at pobox.com
Mon Jan 27 19:17:06 CET 2003


I modified shootout.py to allow specification of alternate delimiters on the
command line and manually converted nastiness.csv to nastytabs.csv.
Processing nastytabs.csv with TAB as the delimiter generates identical
results as processing nastiness.csv with comma as the delimiter.  (This is a
good thing. ;-)

Nastytabs.csv and modified shootout.py attached.

Skip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nastytabs.csv
Type: application/octet-stream
Size: 600 bytes
Desc: not available
Url : http://mail.python.org/pipermail/csv/attachments/20030127/1d2e6d32/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shootout.py
Type: application/octet-stream
Size: 1083 bytes
Desc: not available
Url : http://mail.python.org/pipermail/csv/attachments/20030127/1d2e6d32/attachment-0001.obj 


More information about the Csv mailing list