On 25/04/15 14:46, Juanald Reagan wrote:
Hello! I have a question regarding how to use/implement a package found at
github.
https://github.com/secynic/ipwhois
We are not experts on this here since this list s for people learning
the core Python lamguage and its standard library. Howe er I se
On Sat, Apr 25, 2015 at 09:46:26AM -0400, Juanald Reagan wrote:
> from ipwhois import IPWhois
>
> obj = IPWhois(ipaddy)
> results = [obj.lookup()]
> print results [0]
>
> This returns ALL the fields not just the "asn_registry" field. I looked for
> documentation on github but did
Hello! I have a question regarding how to use/implement a package found at
github.
https://github.com/secynic/ipwhois
I am able to run the sample code without any issues but what I don't
understand is how to put all the data that is returned into an indexed
list. I want to be able to pick out som
Øyvind wrote:
> Hello.
>
> I am trying to write a module that lets me check whois-info of ip-adresses:
>
> import socket
>
> class whois:
> pass
>
> def ip(self, adresse):
> self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> self.s.connect(('whois.ripe.net', 43
Hello.
I am trying to write a module that lets me check whois-info of ip-adresses:
import socket
class whois:
pass
def ip(self, adresse):
self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.s.connect(('whois.ripe.net', 43))
#self.s.connect(('whois.nor