[prev in list] [next in list] [prev in thread] [next in thread]
List: python-email-sig
Subject: [Email-SIG] Make reply
From: phd () mail2 ! phd ! pp ! ru (Oleg Broytmann)
Date: 2006-04-14 17:27:22
Message-ID: 20060414172722.GA26461 () phd ! pp ! ru
[Download RAW message or body]
Barry, woulnt't it be a nice addition?
def make_reply(body, quote_str="> "):
return '\n'.join([quote_str + line for line in body.split('\n')])
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic