Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Python 2.5.1 to help document setup

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report