Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get local ip in python

import socket
local_ip = socket.gethostbyname(socket.gethostname)
print(f"[+] Your Local IP is : {local_ip}")
Source by github.com #
 
PREVIOUS NEXT
Tagged: #local #ip #python
ADD COMMENT
Topic
Name
8+8 =