Poll: Do you use csv.Sniffer?

John Machin sjmachin at lexicon.net
Fri Sep 25 08:49:28 CEST 2009


On Sep 25, 2:00 pm, Alex_Gaynor <alex.gay... at gmail.com> wrote:
> On Sep 24, 10:26 pm, s... at pobox.com wrote:
> > If you are a csv module user, I have a question for you:  Do you use the
> > csv.Sniffer class?
>
> I just used it yesterday :)  Not having it would mean I'd need to add
> another dependency to my project so that I can import data from my
> client (it's easier to reexport his Excel spreadsheets as CSV and
> import that), that's not the end of the world, but what's the argument
> against leaving it in the stdlib?

Why do you need the sniffer? If your client can't do "save as" the
same way twice, just read the spreadsheets directly!



More information about the Python-list mailing list