jupyter#
jupyter 是一個簡易的,方便的寫Python代碼的工具包,requests是Python里非常好用的用來發(fā)送 http 請求的包,使用需要安裝 jupyter 和 requests 。
Windows鍵+X鍵選擇 命令提示符。
Requests: HTTP for Humans
import requests
response = requests.get("https://www.baidu.com")
print(response.status_code)
print(response.content.decode('utf-8'))