On 12/04/2023 02.29, Loris Bennett wrote:
Hi,
Having solved my problem regarding setting up 'logger' such that it is
...
My reading suggests that setting up a module with a Config class which
can be imported by any part of the program might be a reasonable approach:
...
However, in my conf
Not sure if I'm fully understanding the question. But one option instead of
making everything class attributes is to just define __getattr__ for when it
doesn't find an attribute.
Won't work for every single valid section and option name (because of spaces,
name overlaps, etc) but should cover