Site Connectivity Checker Script in Python
import urllib.request as ur
def site_connectivity_checker(url):
print("Checking the status of the site", site_url)
response = ur.urlopen(url)
print("Successfully connected to", url)
print("The status code of your website is",response.getcode())
print("This tool checks the status of your website")
site_url = input("Plz input your website's url: ")
site_connectivity_checker(site_url)
Comments
Post a Comment
Write something to CodeWithAbdur!