python中构造函数可以这样写 class classname(): def ——init——(self): # 构造函数函数体 转载于:https://www.cnblogs.com/begoogatprogram/p/4649076.html