关于python帮助文档
>>>help('print')Sorry,topicandkeyworddocumentationisnotavailablebecausethePythonHTMLd...
>>>help('print')
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.
于是到 http://docs.python.org/download.html下载,可页面压根打不开;
在“ http://bbs.chinaunix.net/archiver/?tid-1171196.html”说是:
到Python英文官方网站看了看发现有个与docs相关的地址,如下:
http://docs.python.org/ftp/python/doc/2.5/html-2.5.tar.bz2
所以下载下来试试看
我把它解压到了/home/d/x/fish2shoes/python目录下
然后我又按照上面的命令试了一下,命令如下:
[b]-bash-3.2$ env PYTHONDOCS=~/python/Python-Docs-2.5.2/ python
可我用的是XP系统,python路径在"C:\Python24"那我应该如何设置呢? 展开
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.
于是到 http://docs.python.org/download.html下载,可页面压根打不开;
在“ http://bbs.chinaunix.net/archiver/?tid-1171196.html”说是:
到Python英文官方网站看了看发现有个与docs相关的地址,如下:
http://docs.python.org/ftp/python/doc/2.5/html-2.5.tar.bz2
所以下载下来试试看
我把它解压到了/home/d/x/fish2shoes/python目录下
然后我又按照上面的命令试了一下,命令如下:
[b]-bash-3.2$ env PYTHONDOCS=~/python/Python-Docs-2.5.2/ python
可我用的是XP系统,python路径在"C:\Python24"那我应该如何设置呢? 展开
2013-08-02
展开全部
在我的电脑上右键->属性->高级->环境变量,在系统变量里面添加PYTHONDOCS值为:"C:\Python24\Python-Docs-2.5.2"确认Path里面有"C:\Python24",没有则添加。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询