Re: dynamic setattr

2012-07-27 Thread Mariano Di Felice
on concept, yeah! You all right! But I need a conversion class (as Utility) that expose getter/setter of any keys. Thx! Il giorno venerdì 27 luglio 2012 15:46:59 UTC+2, Steven D'Aprano ha scritto: > On Fri, 27 Jul 2012 05:49:45 -0700, Mariano Di Felice wrote: > > > Hi, > >

dynamic setattr

2012-07-27 Thread Mariano Di Felice
Hi, I have a property file (.ini) that has multiple sections and relative keys, as default structure. Now, I would like to export from my utility class methods getter and setter. I have started as is: class Utility: keys = {"STANDUP": ["st_key1", "st_key2", "st_key3", "st_key4"],