8 Aug
2002
8 Aug
'02
12:01 p.m.
code that does the following whould do it: - read 72 characters into the email body - go backwards from there until you encounter an empty space - replace the empty space with a newline character - repeat the preceding steps, starting from the first character after the newline you just inserted. if there is already newlines in the body of text you can replace all of them with empty spaces before you start parsing. jens On Thursday, August 8, 2002, at 07:40 , Geir Bækholt wrote:
Does anyone have a python snippet or something that helps format outgoing emails, so that lines wrap nicely at 72 characters?
:)
-- Geir Bækholt web-developer geirh@funcom.com funcom oslo | webdev-team