摘要: 官方网址:range 解释: The range type represents an immutable sequence of numbers and is commonly used for looping a specific number of times in for loops. ra 阅读全文
posted @ 2018-11-06 09:17 ganiner 阅读(298) 评论(0) 推荐(0)
摘要: 一直不清楚requestes的content和text方法的区别,只知道content返回的是二进制数据,而text返回的是文本数据 先看看content的源码: 注释可知content返回的是bytes型也就是二进制的数据 在看看text的源码: 意思是requests.text是根据网页的响应来 阅读全文
posted @ 2018-11-06 08:27 ganiner 阅读(2963) 评论(0) 推荐(0)