Jak uzyskać adres IP komputera za pomocą Pythona
import socket
hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)
print(local_ip)
#it's work
Said HR