This a cli project that gets the ip address of a provided url.
To run this program you need:
First you need to check if you have python already installed (some OS come with python installed already) run either command:
python --version
python3 --version
If you don't have python installed follow this tutorial for ubuntu or this for tutorial for linux mint.
An IDE is short for Integrated Development Environment is a software helps programmers develop software code efficiently.
Popular Python IDEs include:
- Visual Studio Code (VSCode) - Installation. (Recommended)
- Pycharm Community - Installation.
- Programiz - Online IDE.
Before proceeding, make sure to download or to clone
the project files onto your machine in order to run the project.
To clone
this repo ensure you have Git installed onto your local machine.
To check if git is already installed, run this command in your terminal:
git --version
To install Git run this command in the Terminal
sudo apt install git
git clone https://github.com/Se7enseads/python-p3-project
To use SSH you first need to fork this repo onto your github account.
To fork this repo click the drop down button or arrow next to the name fork
and then click on create a new fork
or click this link to direct you to the forking page.
Click on Create Fork
to fork.
After forking the repo, click on the drop down arrow next to the green code button
, select the SSH option
and copy the code provided.
[email protected]:[Your-username]/[repo]
For more information about git you can checkout the git documentation.
Access the code from the cloned directory and launch it using Visual Studio Code or VScode. To run this code efficiently:
- Install the Python extensions in the extensions tab found on the left side of vscode or by pressing
Ctrl + Shift + X
. and install the first one byms-python
.
To run this code:
- Open the terminal VSCode right clicking on the empty space in the explorer on the right and clicking on
Open in integrated Terminal
. - Run the following command:
cd python && python3 main.py
To see more options run:
python3 main.py --help
Copyright ยฉ 2023 Kyle Mututo.
This project is MIT licensed.