I have written code to read a CSV into a python dictionary, which works fine. I\'m trying to get the dictionary back to a CSV. I have written the following:
For posterity:
You should use iteritems() to iterate over a dictionary, so the last part becomes
for name, values in itemDict.iteritems(): print values listWriter.writerow(values)