import requests
url = 'https://w3schools.com/python/demopage.htm'
x = requests.get(url)
#close the connection to the server:
x.close()