# Test the given page is found or not on the server Using Python # import modulefrom urllib.request import urlopenfrom urllib.error import *# try block to read URLtry:    html = urlopen("https://www.geeksforgeeks.org/")     # except block to catch# exception# and identify errorexcept HTTPError as e:    print("HTTP error", e)     except URLError as e:    print("Opps ! Page not found!", e)else:    print('Yeah !  found ')