摘要: 类的方法包括以下几种: 构造方法 :__init__(self,) 析构方法 :__del__(self) 类方法@classmethod、实例方法、静态方法@staticmethod 一、构造方法 __init__(self , ...) 即使用self参数, 并把参数(argument)传递至s 阅读全文
posted @ 2018-07-25 17:55 kumata 阅读(266) 评论(0) 推荐(0) 编辑