This document is for an old version of Python that is no longer supported. You should upgrade and read the Python 当前稳定版本的文档.

# Python Setup and Usage

This part of the documentation is devoted to general information on the setup of the Python environment on different platforms, the invocation of the interpreter and things that make working with Python easier.

- 1. Command line and environment
  - 1.1. Command line
    - 1.1.1. Interface options
    - 1.1.2. Generic options
    - 1.1.3. Miscellaneous options
    - 1.1.4. Options you shouldn’t use
  - 1.2. Environment variables
    - 1.2.1. Debug-mode variables
- 2. Using Python on Unix platforms
  - 2.1. Getting and installing the latest version of Python
    - 2.1.1. On Linux
    - 2.1.2. On FreeBSD and OpenBSD
    - 2.1.3. On OpenSolaris
  - 2.2. Building Python
  - 2.3. Python-related paths and files
  - 2.4. Miscellaneous
  - 2.5. Editors and IDEs
- 3. 在 Windows 上使用 Python
  - 3.1. 安裝 Python
  - 3.2. Alternative bundles
  - 3.3. 設定 Python
    - 3.3.1. Excursus: Setting environment variables
    - 3.3.2. Finding the Python executable
    - 3.3.3. Finding modules
    - 3.3.4. Executing scripts
  - 3.4. Additional modules
    - 3.4.1. PyWin32
    - 3.4.2. Py2exe
    - 3.4.3. WConio
  - 3.5. 編譯 Python 在 Windows
  - 3.6. 其他資源
- 4. 在麥金塔系統使用Python
  - 4.1. 取得和安裝MacPython
    - 4.1.1. 如何執行Python腳本
    - 4.1.2. 透過使用者圖形介面執行腳本
    - 4.1.3. 設定
  - 4.2. 整合化開發工具
  - 4.3. Installing Additional Python Packages
  - 4.4. 圖形化使用者介面(GUI) 程式開發於Mac
  - 4.5. 貢獻Python應用程式於 Mac
  - 4.6. 其他資源