摘要: 1.类和对象之封装#方法1def Bar(): print "Bar"def Hello(name): print "i am %s" %(name) #方法2class Foo(): def Bar(self): print 'Bar' def Hello(... 阅读全文
posted @ 2015-12-11 20:25 杰希 阅读(355) 评论(0) 推荐(0) 编辑