# 使用requests发送GET请求的示例代码如下: import requests response = requests.get('https://www.baidu.com/') print(response.text)