[CSV] Re: First Cut at CSV PEP

Andrew McNamara andrewm at object-craft.com.au
Wed Jan 29 00:39:47 CET 2003


>I suppose that exporting should raise an exception if you specify any
>variation on the dialect in the writer function.
>
>    csvwriter = csv.writer(file("newnastiness.csv", "w"),
>                           dialect='excel2000', delimiter='"')
>
>That should raise an exception.

You mean "raise an exception because the result would be ambiguous", or
"raise an exception because it's not excel2000"?

BTW, I don't have access to Excel 2000, only 97. I'm going to assume
they're the same until proven otherwise (bad assumption, I know).

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/



More information about the Csv mailing list