Python 的网络请求 Requests 模块使用2019-11-26 · 大约 1100 个字 · 预计 5 分钟 读完Python · 基础Python · Requests · pip · 模块 · HTTP · Get · Post · Json格式 · json · Cookie · HeaderRequest 是一个简答优雅的 python HTTP 库,相较于 python 标准库中的 urllib 和 urllib2 的库,Requests 更加的便于理解使用, 本篇文章将带你详细了解 Requests 的基本用法。Requests 模块 安装 1 pip install requests 注意:在 python 3.8 中的安装包中默认安装了 pip 工具,只需要我们配置一下环境变量即可 1 PAHT = 'C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Scripts' 阅读更多