![]() |
ip addresses to hostnames - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: ip addresses to hostnames (/thread-9568.html) |
ip addresses to hostnames - paulkt - Apr-16-2018 Does anyone have a short script to read IP addresses from a txt file and resolve them to hostnames? Thank you, paulkt I'm new to Python and was wondering if anyone has a simple script on how to resolve hostnames with a given list of IP addresses. Thanks. RE: ip addresses to hostnames - wavic - Apr-16-2018 socket.gethostbyaddr(IP) |