How To Use Setattr In Python For Dynamic Attribute Assignment