This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# the 'hello, world' of email processing | |
# open an mbox data file and print the email body | |
# example mbox files => http://pig.apache.org/mail/user/ | |
# mbox => http://en.wikipedia.org/wiki/Mbox | |
import mailbox |