Troubles with CSV file
Skip Montanaro
skip at pobox.com
Fri May 14 14:29:26 EDT 2004
Dennis> ""read this, man"", 1
Dennis> start---|
Dennis> end------| ie, an empty quoted string
Dennis> unquoted--^^^^^^^^^
Dennis> comma-split--------|
Dennis> unquoted------------^^^^
Dennis> start-------------------|
Dennis> end----------------------| another empty quoted string
Dennis> comma-split---------------|
Dennis> unquoted-------------------^^
I'm not sure what "correct" interpretation of this should be since no
separator was placed after the first '""' and before the second. Given that
the input is ill-defined, just about any output could be considered
"valid". ;-)
Skip
More information about the Python-list
mailing list