Yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-mhlib.html

Revision as of 18:35, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/mh-objects.html|[[Image:yurttas_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

12.19 mhlib -- Access to MH mailboxes

The mhlib module provides a Python interface to MH folders and their contents.

The module contains three basic classes, MH, which represents a particular collection of folders, Folder, which represents a single folder, and Message, which represents a single message.

MH ([path[, profile]])
MH represents a collection of MH folders.
Folder (mh, name)
The Folder class represents a single folder and its messages.
Message (folder, number[, name])
Message objects represent individual messages in a folder. The Message class is derived from mimetools.Message.


Send comments on this document to python-docs@python.org.