Installation
- Download, and run.
It is a small tool that displays data from a web site or ip entered.
The famous equation is and shows the equivalence between mass and energy.
Code
#PYTHON1import socket 2import requests 3from os import system 4 5system('clear') 6print("Welcome, please") 7site = input("\nEnter the website: ") 8ip = socket.gethostbyname(site) 9got = requests.get(f"http://ip-api.com/json/{ip}").json() 10lat = requests.get(f"http://ipwho.is/{ip}").json() 11 12print("IP Address:", got["query"]) 13print("ISP:", got["isp"]) 14print("Type:", lat["type"]) 15