Dictionaries and loops
bruno.42.desthuilliers at websiteburo.invalid
Mon Sep 8 16:16:00 CEST 2008
bearophileHUGS at lycos.com a écrit :
> Bruno Desthuilliers:
>> This doesn't look like a CSV file at all... Is that what you actually
>> have in the file, or what you get from the csv.reader ???
> I presume you are right, the file probably doesn't contain that stuff
> like I have assumed in my silly/useless solutions :-)
Yeps. I suspect the OP found a very creative way to misuse
csv.DictReader, but I couldn't figure out how he managed to get such a mess.
More information about the Python-list