import requests
url = 'https://w3schools.com/python/demopage.php'
#make the request with the path to a TLS certificate:
x = requests.get(url, verify='folder/tlscertificate')
print(x.status_code)