Note: This is not a library recommendation question. It is rather about possible approaches to the problem.
Question: What approaches are possible t
An alternative easy solution that works with Python 3 now:
First import the following package:
pip install python-whois
Then execute the code:
import whois w = whois.whois('74.125.225.229')