On Tuesday 05 October 2010 16:03:17 Ale wrote: > Pregunta: No queres entonces esto? > In [1]: class C(dict): > ...: __getattr__ = dict.__getitem__ > ...: > ...: > > In [2]: c = C() > > In [3]: c['a'] = 42 > > In [4]: c.a > Out[4]: 42 Ahá!