[FRPythoneers] (no subject)

Uche Ogbuji uche.ogbuji at fourthought.com
Thu Jul 29 14:25:58 MDT 2004


On Thu, 2004-07-29 at 12:55, Keith Hellman wrote:
> Hello all.
> 
> I've written some python quick code to open numerous different
> traditional unix mbox files and search all the messages for ones of
> interest.  Python made this, what thought would be the hard part, 
> incredibly easy.
> 
> Now I'm stuck trying to write the found messages (of type email.Message)
> back to a new traditional unix mbox file.  I'd like to do this so I can
> simply use mutt prune the found messages down to just the ones I want.
> 
> Everything I've seen so far is for *reading* mbox files, does anyone
> know how to write an email.Message to one?  I'm also humoured that it
> seems impossible to perform simple google searches for an answer since
> anything with 'mail' and 'python' in it finds the 13 bazillion helpful
> message boards explaining where the term spam comes from :^)

Yeah?  Well, ya gotta *use* Google :-)

http://www.google.com/search?hl=en&lr=&ie=UTF-8&c2coff=1&q=mbox+mail+python+-spam+-monty&btnG=Search

The "-" modifier is your googly friend.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Perspective on XML: Steady steps spell success with Google - http://www.adtmag.com/article.asp?id=9663
Use XML namespaces with care - http://www-106.ibm.com/developerworks/xml/library/x-namcar.html
Managing XML libraries - http://www.adtmag.com/article.asp?id=9160
Commentary on "Objects. Encapsulation. XML?" - http://www.adtmag.com/article.asp?id=9090
Harold's Effective XML - http://www.ibm.com/developerworks/xml/library/x-think25.html
A survey of XML standards - http://www-106.ibm.com/developerworks/xml/library/x-stand4/




More information about the FRPythoneers mailing list