I have created a Python project that utilizes the urllib and tkinter modules to test the connectivity of websites.
A Python site connectivity checker is a program that checks if a website or server is reachable and responsive. We created a GUI with a tkinter to allow users to input a web address. The collected web address is passed to a user-defined function to return an HTTP status code for the website via the urllib module's .getcode() function. We determine whether the HTTP code is 200. If it is, we inform the user that the site is working; otherwise, we inform the user that it is unavailable.
Submitted by Harshal Sharma (Harshal0Sharma)
Download packets of source code on Coders Packet
Comments