How to dynamically assign values to class properties in Python?,"setattr(self, attr, group)"