Skip Montanaro added the comment: I should have probably pointed out that the Sniffer class is the unloved stepchild of the csv module. In my experience it is rarely necessary. You either:
* Are reading CSV files which are about what Excel would produce with its default settings or * Know just what your format is, and can define the various parameters easily It's pretty rare, I think, to get a delimited file in some format which is completely unknown and which thus has to be deduced. As Peter showed, the Sniffer class is also kind of unreliable. I didn't write it, and there are precious few test cases for it. One of your datasets should probably be added to the mix and bugs fixed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24787> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com