On 2011-04-06, Chris Rebert <c...@rebertia.com> wrote:
> On Tue, Apr 5, 2011 at 7:16 PM, Vincent Davis
> <vinc...@vincentdavis.net> wrote:
>> I am working on a program to monitor directory file changes
>> and am would like a configuration file. This file would
>> specify email addresses, file and directory locations...... Is
>> there a preferred format to use with python?
>
> ConfigParser supports an INI-like format:
> http://docs.python.org/library/configparser.html

A bonus for users of Python 3.2 is that ConfigParser now detects
multiply defined sections. I installed 3.2 yesterday and thus
discovered a bug in a large config file that's been there for
seven years.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to