Best way to inicialize multiple attributes in python classes

后端 未结 0 809
萌比男神i
萌比男神i 2021-01-14 07:58

I have a simple class with 50+ attributes. All of them will be set up as empty string when the class is created. What is the best pythonic way of doing it?

Should it

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