摘要: 一、python中类的继承 1.1 单继承 在python 中我们可以这样来定义一个类:及继承它的子类 ~~~ class Father: def __init__(self, mes): 1 父类的init构造方法 print('From Father. form {}'.format(mes)) 阅读全文
posted @ 2018-08-15 00:04 G1733 阅读(170) 评论(0) 推荐(0) 编辑