[Csv] CSV interface question
Andrew McNamara
andrewm at object-craft.com.au
Wed Jan 29 11:16:58 CET 2003
>Maybe we should consider a "container of options" class (of which the
>dialects would be subclasses). The sniffing code could then return an
>instance of this class (which wouldn't necessarily be a dialect). With
>this, you might do things like:
Another thought - rather than specify the dialect name as a string,
it could be specified as a class or instance - something like:
csv.reader(fileobj, csv.dialect.excel)
Thoughts?
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
_______________________________________________
Csv mailing list
Csv at mail.mojam.com
http://manatee.mojam.com/mailman/listinfo/csv
More information about the Csv
mailing list