On Jul 14, 2008, at 12:29 AM, nibudh wrote:

Hi List,

I'm looking for some support libraries that will help me to parse sendmail logs.

I'm confused about whether i need a "parser" per se, and if i do which parser to use. I found this website http://nedbatchelder.com/text/python-parsers.html which compares a slew of python parsers.

Parsers as referenced in your link are intended for heavy-duty lifting
such as parsing programming languages.

Sendmail logs are very simple, so those parsers are vast overkill. Split
on whitespace combined with regular expressions should be up to the job.

-jeff

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to