Re: (beginner question) ConfigParser nuances

2011-05-02 Thread Unknown Moss
On May 2, 3:25 pm, Chris Rebert wrote: > On Mon, May 2, 2011 at 3:04 PM, Unknown Moss wrote: > > Hi -Beginnerquestionhere. I'm working with ConfigParser. I'd like > > to take a multiline variable and convert it directly to an array. > > Seems like a common  proble

(beginner question) ConfigParser nuances

2011-05-02 Thread Unknown Moss
Hi - Beginner question here. I'm working with ConfigParser. I'd like to take a multiline variable and convert it directly to an array. Seems like a common problem, but I don't see how I can do it without doing a little parsing in my own code. Here's what I'm doing ... >>> import ConfigParser >>>

Re: (beginner) logging config not working

2011-04-30 Thread Unknown Moss
On Apr 29, 10:09 pm, Peter Otten <__pete...@web.de> wrote: > Unknown Moss wrote: > > Hi > > > This is a beginner question. Thanks for the hand. > > > I've been asked to maintain some poorly constructed python code. > > Logging is weak. Getting it to w

Re: (beginner) logging config not working

2011-04-30 Thread Unknown Moss
On Apr 29, 10:09 pm, Peter Otten <__pete...@web.de> wrote: > Unknown Moss wrote: > > Hi > > > This is a beginner question. Thanks for the hand. > > > I've been asked to maintain some poorly constructed python code. > > Logging is weak. Getting it to w

(beginner) logging config not working

2011-04-29 Thread Unknown Moss
Hi This is a beginner question. Thanks for the hand. I've been asked to maintain some poorly constructed python code. Logging is weak. Getting it to work with python logging programmatically was easy. However, I'd like to refactor all the logging code into configuration since I see the need for