使用help()在Python中缺少模块链接 [英] Missing module links in Python using help()

查看:96
本文介绍了使用help()在Python中缺少模块链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IntelliJ 2016.1.我正在上Python的Udemy课程.在其中一门课程中,我们正在调用help()模块.在讲座中,我们运行help(webbrowser).运行代码时,将显示输出,但没有模块链接.然而,在讲座中,存在指向该Python.org模块的模块链接.

I am using IntelliJ 2016.1. I am taking a Udemy course for Python. In one of the courses, we are calling the help() module. In the lecture, we run help(webbrowser). When the code is run, the output comes up, but without a module link. Yet in the lecture, the module link to that Python.org module is there.

我安装了Python 3.5.1和Anaconda 3.我尝试将两者都设置为默认解释器,但没有模块链接.

I have Python 3.5.1 and Anaconda 3 installed. I have tried setting both to the default interpreter but no module link.

我哪里出错了?

推荐答案

尝试以下代码:

help('webbrowser')

输出的最后一行是到webbrowser模块的本地链接

last line of output is local link to webbrowser module

这篇关于使用help()在Python中缺少模块链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆