CHECK IP ADDRESS OF ANY WEBSITE

CHECK IP ADDRESS OF ANY WEBSITE 


Source Code:- 

 
01
02
03
04
05
06
07
08
09
10
11
12
# Get IP Adress of any Website
 
import socket
 
# Give website link here
website_url = "google.com"
 
# Found IP Address of above given website
IP_Adress = socket.gethostbyname(website_url)
 
# Print IP Adress of Given website
print("IP Adress is: ", IP_Adress)
 
 
# Get IP Adress of any Website

import socket

# Give website link here
website_url = "google.com"

# Found IP Address of above given website
IP_Adress = socket.gethostbyname(website_url)

# Print IP Adress of Given website
print("IP Adress is: ", IP_Adress)

Follow me on Instagram:- Python_with_Shubham


0 Comments