network
dev_tool.tools.network
log = logging.getLogger(__name__)
module-attribute
get_local_ip
A function that gets the local IP address of the machine.
Returns:
-
str–The local IP address, or '127.0.0.1' if it cannot be determined.