Ross Ridge <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote:
> >Is there *any* way I can get python to access maildirs
> >which are not named using this (IMHO stupid) convention?
>
> Well, the mailbox module doesn't support deleting mailboxes, so I'm not
> sure why you want to use it.
I was
<[EMAIL PROTECTED]> wrote:
>Is there *any* way I can get python to access maildirs
>which are not named using this (IMHO stupid) convention?
Well, the mailbox module doesn't support deleting mailboxes, so I'm not
sure why you want to use it. Since you also seem to have a better idea
of what your
I am trying to write a utility to remove empty maildir mailboxes. It
sounds like this should be very simple but it's proving really
difficult.
I'm doing this on a Fedora 7 system with python 2.5.
The first question is how to detect whether a directory is a maildir
mailbox. The following code sn