DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get local ipv4
hostname
=
socket
.
gethostname
(
)
local_ip
=
socket
.
gethostbyname
(
hostname
)
PREVIOUS
NEXT
Tagged:
#local
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit