Answers for "how to access a ip address from local machine"

2

get local ip

hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)
Posted by: Guest on April-12-2021

Code answers related to "how to access a ip address from local machine"

Python Answers by Framework

Browse Popular Code Answers by Language