Dapatkan IPv4 lokal

hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)
Misty Monkey