Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2702
| From | Neil Cerutti <neilc@norwich.edu> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Standard config file format |
| Date | 2011-04-06 12:46 +0000 |
| Organization | Norwich University |
| Message-ID | <9035ljFq2oU5@mid.individual.net> (permalink) |
| References | <BANLkTikxXC_xoQ5QxAD+e2LhRhvscWnLfw@mail.gmail.com> <mailman.64.1302059041.9059.python-list@python.org> |
On 2011-04-06, Chris Rebert <clp2@rebertia.com> wrote: > On Tue, Apr 5, 2011 at 7:16 PM, Vincent Davis > <vincent@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
Re: Standard config file format Chris Rebert <clp2@rebertia.com> - 2011-04-05 20:03 -0700 Re: Standard config file format Neil Cerutti <neilc@norwich.edu> - 2011-04-06 12:46 +0000
csiph-web