Re: mbox parsing, specifically message body

2012-06-14 Thread Emile van Sebille
On 6/14/2012 12:57 PM Ryan Clough said... Hello everyone, Is anyone familiar with a simple way to parse mbox emails in Python? >>> import mailbox >>> help(mailbox) Help on module mailbox: NAME mailbox - Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes. Emile I use

mbox parsing, specifically message body

2012-06-14 Thread Ryan Clough
Hello everyone, Is anyone familiar with a simple way to parse mbox emails in Python? I use Mail::MBoxParser in perl and it provides a simple way to grab the bodies from the emails. In my research online, people have suggested searching for lines starting with "From ", but this doesn't seem r