小新新2015

导航

 

2016年3月30日

摘要: # -*- coding: utf-8 -*- import urllib2 import cookielib url="http://www.baidu.com" print '第一种方 法' response1=urllib2.urlopen(url) print response1.getcode() print len(response1.read()) print '第二种方法' r... 阅读全文
posted @ 2016-03-30 15:29 小新新2015 阅读(137) 评论(0) 推荐(0) 编辑