> Yes, thats the way I'd recommend.
>> Is there a more decent and elegant way?
I don't know. I was just asking how other programmers achive this 
efficiently.


> Another option is to have the config settiongs in a normal
> Python module and just import it. That is less appealing if
> the config file is shared with a non python program, but if
> its all Python then that's a much simpler approach...
I think that the cfg-files are much more readable for others.

> PS.
> Why all the parens around the error strings in your code?
I am using gettext:

_ = gettest.gettest

Got this from the documentation.

Thanks for your reply!

Timmie


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to