Line Breaks

Susan Day suzieprogrammer at gmail.com
Mon Nov 23 13:45:13 EST 2009


Hi;
I have the following line of code I'm sending to postfix:

  msg = 'A Message From %s:\n\n %s' % (string.replace(customer, '_', ' '),
msg)

Unfortunately, it ignores the line breaks. I also tried %0A but that was
ignored also. Please advise.
TIA,
Suzie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091123/5b0ed55e/attachment.html>


More information about the Python-list mailing list