Re: Default Section Values in ConfigParser

2006-03-01 Thread Fuzzyman
mwt wrote: > I want to set default values for a ConfigParser. So far, its job is > very small, so there is only one section heading, ['Main']. Reading the > docs, I see that in order to set default values in a ConfigParser, you > initialize it with a dictionary or defaults. However, I'm not quite

Re: Default Section Values in ConfigParser

2006-03-01 Thread mwt
Thanks, Terry. That's an interesting way to go about it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Default Section Values in ConfigParser

2006-02-28 Thread Terry Hancock
On 28 Feb 2006 17:05:32 -0800 "mwt" <[EMAIL PROTECTED]> wrote: > I want to set default values for a ConfigParser. So far, > its job is very small, so there is only one section > heading, ['Main']. Reading the docs, I see that in order > to set default values in a ConfigParser, you initialize it > w

Default Section Values in ConfigParser

2006-02-28 Thread mwt
I want to set default values for a ConfigParser. So far, its job is very small, so there is only one section heading, ['Main']. Reading the docs, I see that in order to set default values in a ConfigParser, you initialize it with a dictionary or defaults. However, I'm not quite sure of the syntax t