How to add values to an object attribute using setattr()?

前端 未结 0 1846
清酒与你
清酒与你 2020-12-15 07:36

I want to add a value to an attribute of an object. I would use the setattribute function but as far as I know I can then only set it to a value, but not add an

相关标签:
回答
  • 消灭零回复
提交回复
热议问题