Laurent Laporte wrote: > I'm using cvs standard module under Python 2.3 / 2.4 to write a file > delimited with tabs. I use the "excel-tab" dialect to do that. > > To read my CSV file, I choose to 'sniff' with a sample data in order to > get the dialect. > The problem I meet is that I get a wrong dialect: the sniffer return an > empty string delimiter. It is probably a bug in _guess_delimiter() > method. > > The message I obtain is: > TypeError: bad argument type for built-in operation > > Do you know a way to sniff tab-delimited data ? > Is it a known bug ?
http://www.python.org/sf/1157169 </F> -- http://mail.python.org/mailman/listinfo/python-list