(1)遍历key值 在使用上,for key in a和 for key in a.keys():完全等价。 (2)遍历value值 (3)遍历字典项 (4)遍历字典健值 在使用上for key,value in a.items()与for (key,value) in a.items()完全等价 Read More
posted @ 2019-03-06 16:26
龙耳义
Views(1809)
Comments(0)
Diggs(0)
1、response.status_code #相应状态码 2、response.content #字节方式的相应体,会自动为你解码gzip和deflate压缩 3、response.headers #以字典对象存储服务器响应头,但是这个字典比较特殊,字典键不区分大小写,若键不存在则返回None 4 Read More
posted @ 2019-03-06 16:24
龙耳义
Views(4297)
Comments(0)
Diggs(0)
https://zhidao.baidu.com/question/1928004120548507707.html Read More
posted @ 2019-03-06 11:00
龙耳义
Views(93)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号