2024-07-08 10:12:26 发布
网友
我试图在WindowsPowerShell上运行以下代码,但它给出了一个错误“Module is not callable”(模块不可调用)
import whois w = whois.whois('yahoo.com') print w
我做错什么了?我甚至还安装了whois模块。还是没什么区别。在
请帮忙。在
似乎whois documentation已过期;请将行改为
w = whois.query('yahoo.com')
您可以在交互式终端中执行help(whois)(在import whois之后)以查看更多最新文档。在
help(whois)
import whois
似乎whois documentation已过期;请将行改为
您可以在交互式终端中执行
help(whois)
(在import whois
之后)以查看更多最新文档。在相关问题 更多 >
编程相关推荐