Website hosting service by

 Back to Index

12.5 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.

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



2002-2004 Webhosting Service


Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to


Cheap domain registrar provides cheap domain registration, buy domain name and domain transfer from $5.95/year only   Cheap domain registration : Buy domain name and enjoy comprehensive free services