[Tutor] Config file parsing

Tino Dai tinoloc at gmail.com
Thu Apr 20 17:37:48 CEST 2006

Hi Everybody,

     Before I start reinventing the wheel, is there any code out there for
parsing configuration filesn in paragraph format. I am creating a
multi-process monitor that will read in a configuration file that will
contain the processes that they will monitor also what to do when they get
get an alert. Below is an example of what I envision the configure file to
look like

apache {
   processNum = 8
   whenDown = "Apache is totally down"
   whenDegraded = "Apache has degraded (one or more processes has gone away"
   whenUp = "Apache is up"
   .... etc ....

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060420/359eae4a/attachment.html 

More information about the Tutor mailing list