Jean-Philippe Laverdure <[EMAIL PROTECTED]> added the comment:
Hi Skip,
You're right, it does seem that using f.read(1024) to feed the sniffer
works OK in my case and allows me to instantiate the DictReader
correctly... Why that is I'm not sure though...
I was submitting the
Jean-Philippe Laverdure <[EMAIL PROTECTED]> added the comment:
Hello and sorry for the late reply.
Wolfgang: sorry about my misuse of the csv.DictReader constructor, that
was a mistake on my part. However, it still is not functionning as I
think it should/could. Look at this:
Usin
Changes by Jean-Philippe Laverdure:
--
components: +Library (Lib) -Extension Modules
versions: +Python 2.4
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Jean-Philippe Laverdure:
When attempting to sniff() the dialect for the attached .csv file,
csv.Sniffer.sniff() returns an unusable dialect:
>>> import csv
>>> file = open('listB2Mforblast.csv', 'r')
>>> dialect = csv.S