Perhaps you mean to use the function socket.gethostbyname instead. >>> import socket >>> socket.gethostbyaddr("www.google.ca") Traceback (most recent call last): File "<stdin>", line 1, in ? socket.herror: (1, 'Unknown host') >>> socket.gethostbyname("www.google.ca") '64.233.167.147' Jeff -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-list/attachments/20050917/f42e32bb/attachment.sig>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4