Ian, take a step back; the first step to solve a problem is to state it 
clearly. You want to write a dict to a file.

(1) What would the dictionary look like? Give concrete example, e. g.

{"foo": 42, "bar": 'that\'s not "funny"'}

(2) What should the resulting file look like when you open it in a text 
editer? Example:

foo,bar
42,"that's not ""funny"""

Only then you should proceed to write code.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to