Python Set Attribut nach String -Name

setattr(some_object, 'some_attribute', 42)
Arno Deceuninck