Standard config file format

Chris Rebert clp2 at rebertia.com
Tue Apr 5 23:03:58 EDT 2011


On Tue, Apr 5, 2011 at 7:16 PM, Vincent Davis <vincent at 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

JSON is also a popular option:
http://docs.python.org/library/json.html

Cheers,
Chris



More information about the Python-list mailing list