# -*- coding: cp936 -*-
#python 27
#xiaodeng
#python 之html的headers提取操作
# import urllib,urllib2 html=urllib.urlopen('http://i.cnblogs.com/')
#print html.headers
html=html.headers
print html
print '--'*25
for item,v in html.items():
print item,':',v
相关文章
- 09-23python 正则之提取字符串中的汉字,数字,字母
- 09-23前端笔记知识点整合之jQuery(一)加载函数的区别&对象&操作HTML/CSS&动画&选择器
- 09-23python-从给定名称操作的名称币交易中提取输入地址
- 09-23Python3学习笔记5:字符串操作、dict字典的合理使用----购物车优化之商家端
- 09-23python 之 网络编程(基于TCP协议的套接字通信操作)
- 09-23python制作简单excel统计报表2之操作excel的模块openpyxl简单用法
- 09-23Python的excel表格操作,数据提取分析
- 09-23python基础数据类型之字典的操作
- 09-23python之文件的基本操作
- 09-23python表格操作之xlrd和xlwt的用法