Python在线帮助工具 [英] Python online help utility

查看:82
本文介绍了Python在线帮助工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,无论何时我输入帮助(''print'')我都会收到以下错误;


"抱歉,主题和关键字文档不可用,因为Python找不到HTML b / b HTML文档文件。如果你已经安装了它们,请设置环境变量PYTHONDOCS以表明它们的位置。


在Microsoft Windows操作系统上,可以通过以下方式构建文件:

正在运行" hh -decompile。 PythonNN.chm"在C:\PythonNN \ Doc>目录



我正在使用Python 2.5,我认为这是最新版本。


TIA!

Hey guys anytime i type in help (''print'') i get the following error;

"Sorry, topic and keyword documentation is not available because the Python
HTML documentation files could not be found. If you have installed them,
please set the environment variable PYTHONDOCS to indicate their location.

On the Microsoft Windows operating system, the files can be built by
running "hh -decompile . PythonNN.chm" in the C:\PythonNN\Doc> directory"


I''m working with Python 2.5, i presume thats the latest version.

TIA!

推荐答案


嘿大家随时输入帮助(''print'')我收到以下错误;


对不起,主题和关键字文档不可用,因为无法找到Python

HTML文档文件。如果你已经安装了它们,请设置环境变量PYTHONDOCS以表明它们的位置。


在Microsoft Windows操作系统上,可以通过以下方式构建文件:

正在运行" hh -decompile。 PythonNN.chm"在C:\PythonNN \ Doc>目录



我正在使用Python 2.5,我认为这是最新版本。


TIA!
Hey guys anytime i type in help (''print'') i get the following error;

"Sorry, topic and keyword documentation is not available because the Python
HTML documentation files could not be found. If you have installed them,
please set the environment variable PYTHONDOCS to indicate their location.

On the Microsoft Windows operating system, the files can be built by
running "hh -decompile . PythonNN.chm" in the C:\PythonNN\Doc> directory"


I''m working with Python 2.5, i presume thats the latest version.

TIA!



这也是我得到的。文档位于程序 - >下的开始菜单中。 Python 2.5。

That''s what I get too. The docs are in the Start menu under Programs -> Python 2.5.



这也是我得到的。文档位于程序 - >下的开始菜单中。 Python 2.5。
That''s what I get too. The docs are in the Start menu under Programs -> Python 2.5.



我确实看到了,但是我不能从我的python shell访问它吗?

I do see it, but shouldn''t i be able to access it from my python shell?



我确实看到了,但是我不能从我的python shell访问它吗?
I do see it, but shouldn''t i be able to access it from my python shell?



这取决于您使用的是哪个shell。如果省略引号,(通常无用的)命令行提示具有较差的编辑功能且没有菜单会带来帮助,(打印不会工作,但其他任何事情都会有效)。但即使像IDLE这样最简单的IDE也有一个帮助菜单,可以为你提供文档。

That depends on which shell you are using. The (generally useless) command line prompt which has poor editing capabilities and no menus will bring up help if you leave out the quotes, (print won''t work, but just about anything else will). But even the simplest IDE like IDLE has a help menu that will bring up the docs for you.


这篇关于Python在线帮助工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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