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


Subsections

See About this document... for information on suggesting changes.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant