Module ip

Source

Functionsยง

get_local_ip
Get the IP address of the machine
get_local_ip_with_default
Get the IP address of the machine as a string