To get local IPAddress in Python you can use the following snippet.
Sample Python
import socket socket.gethostbyname(socket.gethostname())
To get local IPAddress in Python you can use the following snippet.
import socket socket.gethostbyname(socket.gethostname())