-Original Message-
> Date: Thu, 1 Jun 2006 23:36:27 -0700
> From: "Carlos Daniel Ruvalcaba Valenzuela" <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] implementing config files
> To: "Tracy R Reed" <[EMAIL PROTECTED]>
> Cc: tutor@python.org
> Mes
Tracy R Reed wrote:
> I need to implement a config file which will provide hostnames, the
> names of checks to run on those hosts, and the options to those checks.
> These things are sets which are nested inside each other which we can
> think of like nested objects. I could make a dictionary co
Your could try to use XML files to store configuration files, I
already coded something like that, using expat parser and loading the
XML contents to objects and attributes, this is a sample code of how
works my module:
Lets supouse we have this file config.xml with the following contents: