[Tutor] parse emails as they come in

linuxian iandsd pylinuxian at gmail.com
Fri Mar 28 09:14:58 CET 2008

good morning everybody !

I have scripted a small program to parse a 5 lines email message as it comes
in to my inbox (this is handled by procmail & here is a wonderful intro to
it : http://linuxfocus.org/English/November1997/article8.html)

so every email is being parsed & information is extracted from it.

but sometimes two or more emails come in at once so the input file that my
python script has to parse is more than five lines !! my question is how do
i effeciently manage this from within my original script.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080328/806f5368/attachment-0001.htm 

More information about the Tutor mailing list