Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73542 > unrolled thread
| Started by | Adam Funk <a24061@ducksburg.com> |
|---|---|
| First post | 2014-06-24 12:46 +0100 |
| Last post | 2014-06-26 10:37 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
Standard way to generate mail/news reply? Adam Funk <a24061@ducksburg.com> - 2014-06-24 12:46 +0100
Re: Standard way to generate mail/news reply? Skip Montanaro <skip@pobox.com> - 2014-06-24 07:14 -0500
Re: Standard way to generate mail/news reply? Adam Funk <a24061@ducksburg.com> - 2014-06-26 10:37 +0100
| From | Adam Funk <a24061@ducksburg.com> |
|---|---|
| Date | 2014-06-24 12:46 +0100 |
| Subject | Standard way to generate mail/news reply? |
| Message-ID | <515o7bx07o.ln2@news.ducksburg.com> |
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
[toc] | [next] | [standalone]
| From | Skip Montanaro <skip@pobox.com> |
|---|---|
| Date | 2014-06-24 07:14 -0500 |
| Message-ID | <mailman.11215.1403612058.18130.python-list@python.org> |
| In reply to | #73542 |
On Tue, Jun 24, 2014 at 6:46 AM, Adam Funk <a24061@ducksburg.com> wrote: > Is there some standard library or code for taking an e-mail or > newsgroup message & generating a reply to it? You might try searching for "mail reply" on pypi.python.org. That will return a number of hits. I know the python.org replybot is there and used frequently. It might be a good starting point. Skip
[toc] | [prev] | [next] | [standalone]
| From | Adam Funk <a24061@ducksburg.com> |
|---|---|
| Date | 2014-06-26 10:37 +0100 |
| Message-ID | <l86t7bx3od.ln2@news.ducksburg.com> |
| In reply to | #73543 |
On 2014-06-24, Skip Montanaro wrote: > On Tue, Jun 24, 2014 at 6:46 AM, Adam Funk <a24061@ducksburg.com> wrote: >> Is there some standard library or code for taking an e-mail or >> newsgroup message & generating a reply to it? > > You might try searching for "mail reply" on pypi.python.org. That will > return a number of hits. I know the python.org replybot is there and > used frequently. It might be a good starting point. It looks like I can use the email_reply_parser to do half the job, & modify code from replybot to do the other half. Thanks! -- svn ci -m 'come back make, all is forgiven!' build.xml
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web