Erwan VITIERE wrote: > Because i don't want to use this syntax because it is too long, I want a > direct access : > > Not : > DicoUser['TOTO'].DicoTable.['MY_TABLE'].DicoLabel.['MY_LABEL'] = "for > exemple" > > Finally, i want to use : > TOTO.MY_TABLE.MY_LABEL = "for exemple"
setattr might be what you are looking for -- http://mail.python.org/mailman/listinfo/python-list