§
X± ±FNã ó° — d Z ddlmZ ddlmZ ddlZddlZddlZddl Z ddl
Z
ddlZddlZg d¢Z
eZdZdZ G d„ d e¦ « Z G d
„ de¦ « Z G d„ d
e¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z e¦ « Z G d„ d¦ « Z G d „ d!e ¦ « Z! G d"„ d#e ¦ « Z" G d$„ d%e ¦ « Z# G d&„ d'e¦ « Z$ G d(„ d)e$¦ « Z% G d*„ d+e%¦ « Z& G d,„ d-e¦ « Z' G d.„ d/e¦ « Z(dS )0a‡ Configuration file parser.
A configuration file consists of sections, lead by a "[section]" header,
and followed by "name: value" entries, with continuations and such in
the style of RFC 822.
Intrinsic defaults can be specified by passing them into the
ConfigParser constructor as a dictionary.
class:
ConfigParser -- responsible for parsing a list of
configuration files, and managing the parsed database.
methods:
__init__(defaults=None, dict_type=_default_dict, allow_no_value=False,
delimiters=('=', ':'), comment_prefixes=('#', ';'),
inline_comment_prefixes=None, strict=True,
empty_lines_in_values=True, default_section='DEFAULT',
interpolation=