摘要: 1 import urllib.request 2 import re 3 url = "http://hq.sinajs.cn/list=sh600008" 4 #text = urllib.request.urlopen(url).read().decode("gbk").encode("utf8") 5 text = urllib.request.urlopen(url).read().decode("gbk") 6 text = str(text) 7 name = text[text.find(' 阅读全文
posted @ 2013-05-18 03:28 youJumpILook 阅读(158) 评论(0) 推荐(0) 编辑