Discuss / Python / Test

菜问

#1 Created at ... [Delete] [Delete and Lock User]

__init__ 就是C++中的构造函数、self就是this指针,Python中对成员属性的处理更灵活,不需要预先定义直接赋值


  • 1

Reply