自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

用Python 2.5.1幫助文檔設置的實際操作方案介紹

開發(fā) 后端
本文主要介紹的是關于Python 2.5.1在實際應用中對幫助文檔設置的相關問題的一些具體解決方案的介紹,以下是文章的詳細介紹。

如果你對用Python 2.5.1如何幫助文檔設置的實際操作步驟存在問題時,或對Python 2.5.1的相關代碼的具體應用不了解時,弄都可以瀏覽以下的文章,它會涉及到相關問題的解決,希望你在看完我們的文章會有所體會。

Python 2.5.1 幫助文檔設置問題

Python 2.5.1 (r251:54863, Apr 8 2008, 01:20:16)

  1. [GCC 4.3.0 20080404 (Red Hat 4.3.0-6)] on linux2  
  2. Type "help", "copyright", "credits" or "license" 
    for more information.  
  3. >>> help('print')  
  4. Sorry, topic and keyword documentation is not 
    available because the Python  
  5. HTML documentation files could not be found. 
    If you have installed them,  
  6. please set the environment variable PYTHONDOCS 
    to indicate their location.  
  7. On the Microsoft Windows operating system, the 
    files can be built by  
  8. running "hh -decompile . PythonNN.chm" in the 
    C:\PythonNN\Doc
    > directory.  
  9. >>>   

操作系統(tǒng)是fedora 9。首先,下載幫助文檔。然后,解壓至/home/sword/下載/Python-Docs-2.5

  1. [sword@localhost Python-Docs-2.5]$ ls  
  2. about.html api doc icons inst mac ref whatsnew  
  3. acks.html dist ext index.html lib modindex.html tut  
  4. [sword@localhost Python-Docs-2.5]$ pwd 

在Python 2.5.1 幫助文檔設置問題中你需要在/home/sword/下載/Python-Docs-2.5***,修改配置文件~/.bash_profile,末尾加一句:PYTHONDOCS=/home/sword/下載/Python-Docs-2.5export PYTHONDOCS

  1. $ python  
  2. Python 2.5.1 (r251:54863, Apr 8 2008, 01:20:16)   
  3. [GCC 4.3.0 20080404 (Red Hat 4.3.0-6)] on linux2  
  4. Type "help", "copyright", "credits" or "license" 
    for more information.  
  5. >>> help('print') 

6.6 The print statement

 

  1. print_stmt ::"print" ( [expression[1] ("," 
    expression[2])* [","]]  
  2. | ">>" expression[3] [("," expression[4])+ [","]] )  
  3. Download entire grammar as text.[5]  
  4. ...   

以上就是對Python 2.5.1 幫助文檔設置問題的相關的內容的介紹,望你會有所收獲。

【編輯推薦】

  1. 對Python技巧——代碼效率的實際應用詳解
  2. 在python正則表達式教程中正確使用正則表達式方案
  3. Python編程語言寫的程序比C程序要短的原因
  4. Python教程中10.4 備份腳本代碼中需注意的地方
  5. Python web開發(fā)框架的具體操作步驟的介紹
責任編輯:佚名 來源: 互聯(lián)網
相關推薦

2010-03-16 12:39:09

python for

2010-03-16 10:00:37

Python函數(shù)

2010-03-19 17:39:49

Python編程

2010-04-12 13:05:56

Oracle軟件

2010-04-29 15:09:42

Oracle密碼文件

2010-03-26 09:06:06

Python連接數(shù)據庫

2010-03-24 18:54:53

Python語言

2010-04-12 14:44:06

Oracle Impd

2010-03-26 18:51:51

Python作用域

2010-05-12 13:45:25

Mysql 復制設置

2010-03-24 18:00:30

Python中文轉換u

2010-03-17 15:01:24

Python復制文件

2010-03-16 10:58:35

Python字符串

2010-03-18 13:14:55

Python 正則表達

2010-03-17 15:17:19

Python矩陣轉置

2009-12-30 15:53:28

Silverlight

2010-04-16 09:52:40

Oracle JOB

2010-03-17 13:14:00

Python Libr

2010-03-22 18:20:47

Python正則表達式

2010-03-24 09:46:16

Python 2.6
點贊
收藏

51CTO技術棧公眾號