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)
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor