Tom Tucker wrote:
> Try escaping the quotes.
>
>>>> f = open("data.ini","w")
>>>> f.write("my \"car\" has been a great one for me")
>>>> f.close()
>
> ~ >cat data.ini
> my "car" has been a great one for meTom beat me to posting that, see here for more information on escape sequences in Python: http://docs.python.org/ref/strings.html -Robert _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
