Alternatives for the CSV module

madsurfer2000 at hotmail.com madsurfer2000 at hotmail.com
Sun Sep 12 16:25:34 EDT 2004


Skip Montanaro wrote:
>
> Well, I might disagree with you there.  By all reasonable accounts,
> delimited files containing multi-character delimiters are not CSV
files, at
> least not as operationally defined by Excel (which I mention only
because
> it's probably the largest producer and consumer of such files).
>

I agree. I should have called it delimited files.

>
> That's pretty generic.  How about this (untested):
>
> ...
>
> The goal is of course to pick a delimiter which won't appear in the
file,
> hence the Ctl-A.
>

Thanks for the reply. I was thinking about a similar solution, and
maybe that's easier than searching for other parsers.




More information about the Python-list mailing list