python library for mail/news message headers & bodies?

Chris Rebert clp2 at rebertia.com
Mon Oct 25 22:31:45 EDT 2010


On Mon, Oct 25, 2010 at 7:18 PM, Arthur Divot <arthur at example.com> wrote:
> Is there a python library equivalent to Perl's News::Article
> (load a file containing a news or mail message into an
> object, manipulate the headers and body, create a new empty
> one, save one to a file)?

The `email` package in the std lib?:
http://docs.python.org/library/email.html

The Global Module Index is your friend:
http://docs.python.org/modindex.html

Cheers,
Chris



More information about the Python-list mailing list