import requests #pip3 install requests status = requests.get("URL") #Change URL to your desired website domain print(status) #prints the status of the url.