Hello, I am trying to figure out the whois function to use within zope. I have a form trough which I can add the domain and suffix, but I can't seem to get it working, either with an external method or a python script. Also the whoistools-0.1.0, don't seem to work correctly, I get this error when testing through python Python 2.1.1 (#1, Aug 25 2001, 04:19:08) [GCC 3.0.1] on sunos5 Type "copyright", "credits" or "license" for more information.
import whois print whois.Whois("python.org") Traceback (most recent call last): File "<stdin>", line 1, in ? File "whois.py", line 80, in Whois sock.connect(server, port) TypeError: connect() takes exactly 1 argument (2 given)
although if I do
print whois.Server("python.org") whois.crsnic.net
It works!!! Any help would be much appreciated Regards Norman