Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Adam Funk Newsgroups: comp.lang.python Subject: Standard way to generate mail/news reply? Date: Tue, 24 Jun 2014 12:46:13 +0100 Organization: $CABAL Lines: 19 Message-ID: <515o7bx07o.ln2@news.ducksburg.com> X-Trace: individual.net CSTuUR25XKdj+/OBZSfg9gtuE9o3HNFGbwFir9Z51VoF4JNAx7 X-Orig-Path: news.ducksburg.com!not-for-mail Cancel-Lock: sha1:0+OTEpGWzNbigmB/+bXUkzDgNfM= sha1:cgC1S4S5orFDDQS4352PgH8Ulo0= User-Agent: slrn/pre1.0.2-9 (Linux) Xref: csiph.com comp.lang.python:73542 Is there some standard library or code for taking an e-mail or newsgroup message & generating a reply to it? (I mean things like quoting the original message, >> quoting etc. where necessary, & generating the right References & In-Reply-To headers.) I homebrewed some code for this in Perl (sorry) years ago, but before I reimplement it in Python, I thought I should ask if there's a "good" way. Thanks, Adam -- A recent study conducted by Harvard University found that the average American walks about 900 miles a year. Another study by the AMA found that Americans drink, on average, 22 gallons of alcohol a year. This means, on average, Americans get about 41 miles to the gallon. http://www.cartalk.com/content/average-americans-mpg