I'm considering writing a python script to do some mailbox manipulation but I'm finding the documentation a little confusing, or at least a little lacking.
I'm looking at:- http://docs.python.org/lib/mailbox-maildir.html http://docs.python.org/lib/mailbox-mbox.html
What I can't quite get my mind round is why the Maildir sub-class of Mailbox has list_folders(), get_folder() etc. whereas the Mbox sub-class doesn't have these methods.
From the user's point of view maildir and mbox mail work the same, you
can have a list of mbox folders in exactly the same way as you can have a list of maildir folders.
In fact the Maildir sub-class documentation is not at all clear about what you get when you call list_folders(), a list of folders at what level in the hierarchy?