|
From: Fuzzyman <fuz...@vo...> - 2005-12-05 12:21:36
|
Fuzzyman wrote: >Setting defaults. > >There are two easy ways that spring to mind to set default values in a >config file. (Sorry about the top post - but it seemed the most >appropriate way to respond). > > > I see (from properly reading your email :oops:) that you are already aware of default values in configspecs. Even for reading config values from multiple sources (a hierarchy) - the ``update`` approach should work. Note that you can also update individual sections - not just the whole config. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml |