W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_requests_get_url.py:
import requests #the required first parameter of the 'get' method is the 'url': x = requests.get('https://www.w3school.com.cn/demo/pythondemo.html') #print the response text (the content of the requested file): print(x.text)