Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
demo_requests_get_url.py:
import requests #the required first parameter of the 'get' method is the 'url': x = requests.get('https://w3schools.com/python/demopage.htm') #print the response text (the content of the requested file): print(x.text)
C:\Users\My Name>python demo_requests_get_url.py
<!DOCTYPE html>
<html>
<body>
<h1>This is a Test Page</h1>
</body>
</html>