Class or Dictionary?
andrea.crotti.0 at gmail.com
Sat Feb 12 03:21:43 EST 2011
Il giorno 12/feb/2011, alle ore 00.45, Martin De Kauwe ha scritto:
> yes I read a .INI file using ConfigParser, just similar sections (in
> my opinion) to make one object which i can then pass to different
> classes. E.G.
Ok then I suggest configobj, less buggy and much more powerful than ConfigParser:
(and included from python 2.7).
In this way you can also simply just carry around that dictionary, and it will be correctly
typed if you validate the input.
More information about the Python-list