Il giorno 12/feb/2011, alle ore 00.45, Martin De Kauwe ha scritto: > Hi, > > 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: http://www.voidspace.org.uk/python/configobj.html (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. -- http://mail.python.org/mailman/listinfo/python-list