Nirnimesh wrote in news:1158840271.942540.85640
@d34g2000cwd.googlegroups.com in comp.lang.python:
> I want to extract emails from an mbox-type file which contains a number
> of individual emails.
>
> I tried the python mailbox and email modules individually, but I'm
> unable to combine them to g
Nirnimesh wrote:
> I want to extract emails from an mbox-type file which contains a number
> of individual emails.
>
> I tried the python mailbox and email modules individually, but I'm
> unable to combine them to get what I want. Mailbox allows me to iterate
> over all the mails but doesn't give