Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Site Connectivity Program

This is a simple Python program that checks the connectivity of a website and returns the response code.

Description

The Site Connectivity Program is a Python script that checks the connectivity of a specified website. It uses the urllib module to make a request to the provided URL and retrieve the response code. This program can be used to quickly verify if a website is accessible or if there are any connectivity issues.

Usage

  1. Clone the repository to your local machine.
  2. Make sure you have Python installed.
  3. Run the program using python site_connectivity.py.
  4. Enter the URL of the website you want to check when prompted.
  5. The program will display whether the website is connected successfully and the response code.

Example

$ python site_connectivity.py
This is a site connectivity checker program
Input the URL of the site you want to check: https://www.example.com
Checking connectivity...
Connected to https://www.example.com successfully
The response code was: 200

Requirements

  • Python 3.x
  • urllib module (comes with Python standard library)

License

[MIT Licence]

[The MIT license gives express permission for users to reuse code for any purpose, sometimes even if code is part of proprietary software. As long as users include the original copy of the MIT license in their distribution, they can make changes or modifications to the code to suit their own needs.]

Contribution

Contributions are welcome! If you have any suggestions, bug fixes, or new features, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make the necessary changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request, explaining the changes you have made.

Please ensure that your contributions adhere to the coding conventions and follow the project's guidelines.

Author Soorjyakanta: Project developer and maintainer