Jump to content
Fórum Script Brasil
  • 0

MEU CÓDIGO ESTA COM UM ERRO PODERIÃO ME AJUDADAR A CORRIGIR TODOS OS ERROS


mauricio oliveira
 Share

Question

ele esta escrito em python 2

Este e meu código :

import whois
dominio = "dominio.com" 
consultaWhois = whois.whois(dominio)
print consultaWhois.email
print consultaWhois["email"]
print consultaWhois.txt

 

Este e o erro:

 

Traceback (most recent call last):
  File "whois.py", line 1, in <module>
    import whois
  File "/home/kali/whois.py", line 3, in <module>
    consultaWhois = whois.whois(dominio)
TypeError: 'module' object is not callable

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.7k
    • Total Posts
      648.4k
×
×
  • Create New...