An application to test the given page is found or not on the server using Python
Prerequisite: Python Urllib module
In this article, we are going to write scripts to test whether the given page is found on the server or not with a GUI application. We need to Install Urllib Module to carry out this operation. Type this command in your terminal.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course
pip install urllib
- Import urllib module.
- Read URL with urllib.request.urlopen().
- Check if Read URL gives any exception.
Application to test the given page is found or not on the server with Tkinter: This Script combines the implementation above with a GUI.
Check another URL.