摘要:
#coding=utf-8class data: def __init__(self): #构造函数 self.name='1234' def pp(self): print self.nameclass data2(data): #data2 继承 d... 阅读全文
posted @ 2014-04-25 21:04 huhuuu 阅读(295) 评论(0) 推荐(0)
|
|||
|
摘要:
#coding=utf-8class data: def __init__(self): #构造函数 self.name='1234' def pp(self): print self.nameclass data2(data): #data2 继承 d... 阅读全文
posted @ 2014-04-25 21:04 huhuuu 阅读(295) 评论(0) 推荐(0)
摘要:
#coding=utf-8import reimport urllibdef getHtml(url): #获取url对应得源码 page = urllib.urlopen(url) html = page.read() return htmldef getImg(html): #... 阅读全文
posted @ 2014-04-25 19:06 huhuuu 阅读(503) 评论(0) 推荐(0) |
|||