How to use Python 2.5.1 to help document setup
How to use Python 2.5.1 to help document setup, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Python 2.5.1 help documentation setup issu
Python 2.5.1 (r251 54863, Apr 8 2008, 01:20:16)
[GCC 4.3.0 20080404 (Red Hat 4.3.0-6)] on linux2
Type "help", "copyright", "credits" or "license"
For more information.
> 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.
On the Microsoft Windows operating system, the
Files can be built by
Running "hh-decompile. PythonNN.chm" in the
C:\ PythonNN\ Doc > directory.
> > >
The operating system is fedora 9. First, download the help documentation. Then, extract to / home/sword/ download / Python-Docs-2.5
[sword@localhost Python-Docs-2.5] $ls about.html api doc icons inst mac ref whatsnew acks.html dist ext index.html lib modindex.html tut [sword@localhost Python-Docs-2.5] $pwd
In the Python 2.5.1 help documentation setup problem, you need to download / modify the configuration file in / home/sword/ / Python-Docs-2.5***, ~ / .bash_profile, with a sentence at the end: PYTHONDOCS=/home/sword/ download / Python-Docs-2.5export PYTHONDOCS
$python
Python 2.5.1 (r251 54863, Apr 8 2008, 01:20:16)
[GCC 4.3.0 20080404 (Red Hat 4.3.0-6)] on linux2
Type "help", "copyright", "credits" or "license"
For more information.
> help ('print')
6.6 The print statement
Print_stmt:: = "print" ([expression [1] (","
Expression [2]) * [","]
| | "> >" expression [3] [("," expression [4]) + [","]]) |
Download entire grammar as text. [5]
...
After reading the above, have you mastered how to use Python 2.5.1 to help document setup? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!