get host ip with python 3 - windows

920 views · Published 13 May 2016 · 0:35 · Indexed 30 September 2026

Channel: Godarium · 2016 · People & Blogs

Watch on YouTube

import socket
socket.gethostname()
socket.gethostbyname(socket.gethostname())

More from this channel