Skip to content

Instantly share code, notes, and snippets.

@border
Created September 22, 2016 02:53
get local ip
import socket
socket.gethostbyname(socket.gethostname())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment