Python Access Class Property From String
# getattr(x, 'y') is equivalent to x.y
# setattr(x, 'y', v) is equivalent to x.y = v
# delattr(x, 'y') is equivalent to del x.y
Thoughtful Toad