Python/실전예제

컴퓨터 IP 확인

jsBae 2022. 9. 3. 20:36
import socket
import socket

in_addr = socket.gethostbyname(socket.gethostname())

print(in_addr)
728x90
반응형