摘要: If you know Java and want to quickly get a sense of how to use Python from the very beginning, the following summary can provide you a quick review of... 阅读全文
posted @ 2015-10-06 10:23 LABCD 阅读(268) 评论(0) 推荐(0)
摘要: Some developers have claimed that Python is more productive than Java. It is dangerous to make such a claim, because it may take several days to prove... 阅读全文
posted @ 2015-10-06 09:58 LABCD 阅读(442) 评论(0) 推荐(0)
摘要: 最常见的就是初始化方法__init__()python中类的初始化方法是__init__(),因此父类子类的初始化方法都是这个,如果子类不实现这个函数,初始化时调用父类的初始化函数,如果子类实现这个函数,就覆盖了父类的这个函数,既然继承父类,就要在这个函数里显式调用一下父类的__init__(),这... 阅读全文
posted @ 2015-10-06 09:42 LABCD 阅读(23884) 评论(1) 推荐(0)