12 2015 档案
摘要:1. 鸡汤 关于素质2.推荐书籍:百年孤独3.类的属性,方法字段复习4.python自带方法 isinstance 及 issubclass方法#!/usr/bin/env python#-*- coding:utf-8 -*-# powered by xiaobingclass A(object...
阅读全文
摘要:继承 新式类 横向优先 #!/usr/bin/env python#-*- coding:utf-8 -*-# powered by xiaobingclass D(object):def f1(self):print "dbar"class C(D):def f1(self):print "c.bar"class B(D):passclass A(B,C):passobj=A()obj.f1(...
阅读全文