find local ip code example
Example 1: windows internal ip
//See your internal ip on any windows
Search -> Write:cmd -> command:ipconfig
Example 2: get local ip
hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)
//See your internal ip on any windows
Search -> Write:cmd -> command:ipconfig
hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)