Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get local ipv4

hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)
 
PREVIOUS NEXT
Tagged: #python #local
ADD COMMENT
Topic
Name
9+9 =