comparison README.txt @ 76:6667e79ffcb3

note load option
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 28 Mar 2012 14:08:11 -0700
parents 0516a9e0566b
children 0f9f8f225e79
comparison
equal deleted inserted replaced
75:c119eb07a378 76:6667e79ffcb3
64 ``Configuration``'s constructor. 64 ``Configuration``'s constructor.
65 65
66 ``Configuration`` instances can also deserialize data. The normal case of 66 ``Configuration`` instances can also deserialize data. The normal case of
67 using configuration is when you want to be able to read from 67 using configuration is when you want to be able to read from
68 configuration files. By default, ``Configuration`` instances read 68 configuration files. By default, ``Configuration`` instances read
69 positional arguments for configuration files to be loaded. 69 positional arguments for configuration files to be loaded. If you
70 specify a ``load`` argument to the ``Configuration`` constructor, this
71 option will be used instead.
70 72
71 The `configuration package <http://pypi.python.org/pypi/configuration>`_ 73 The `configuration package <http://pypi.python.org/pypi/configuration>`_
72 requires ``json``(``simplejson`` on older python) and ``PyYAML`` so 74 requires ``json``(``simplejson`` on older python) and ``PyYAML`` so
73 these serializers/deserializers are available if you install the package. 75 these serializers/deserializers are available if you install the package.
74 76