Dec-17-2019, 04:09 PM
The csv module has a DictReader class that converts the data into a dictionary. If that is not giving you the dictionary you want, perhaps you could show us a few rows of the data you have, and how you would want those rows to look when converted to a dictionary.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures