[Tutor] how do I input " as part of a string?

elis aeris hunter92383 at gmail.com
Fri Jul 13 20:20:41 CEST 2007

def send(string):
    f.write("send( \"%s\"\n' % string )" )

f = open ("data.ini")

send("string is very nice and all those things are pretty cool")

this one is wrong, i guess i didn't ask you how to add things after this

\"%s\"\n' % title)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070714/02cfcaa9/attachment.html 

More information about the Tutor mailing list