python requests模块
python requests模块示例代码import requestsr = requests.get('https://github.com/Ranxf') # 最基本的不带参数的get请求r1 = requests.get(url='http://dict.baidu.com/s', params={'wd': 'python'}) # 带参数的get请求requests.get(‘https://github.com/timeline.json’)
原创
2021-02-02 14:45:41 ·
155 阅读 ·
0 评论