Python
guocongbin
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Python中类成员函数均为虚函数的理解
python中类成员函数均为虚函数,我们可以通过下面的函数见识其威力:class A: def foo(self):print aclass B(A): def foo(self):print bfor x in [A(),B()]: x.foo()我们将得到的结果是ab原创 2004-08-12 00:25:00 · 5379 阅读 · 1 评论 -
Get Weather by webservice, implemented in python
转自 guocongbin.blogspot.com ###########################################################use the webservice provided by www.xview.com.cn#get the weather forcastimport httplib, urlliburl=www.xview.转载 2006-11-30 15:48:00 · 1127 阅读 · 0 评论
分享