whois

Use python to execute shell command and redirect the output to a variable

Use python to execute shell command and redirect the output to a variable Question: I am trying to do 2 things with Python- Execute a command at the terminal Save the output of the above command to a variable. This is my code till now – import subprocess ip_address = "http://ipwho.is/104.123.204.11" query_reply = subprocess.run(["curl" , …

Total answers: 2

how to get expired domain names by python

how to get expired domain names by python Question: I am writing a function by python to get a list of expired domains just like this one, but I can not find any library can do this, any ideas about this? Asked By: huangli || Source Answers: Why should there be a library for this …

Total answers: 2

What Python way would you suggest to check whois database records?

What Python way would you suggest to check whois database records? Question: I’m trying to get a webservice up and running that actually requires to check whois databases. What I’m doing right now is ugly and I’d like to avoid it as much as I can: I call gwhois command and parse its output. Ugly. …

Total answers: 9