Python 的設置與使用
*******************

這部分的說明文件是關於在不同平台上設定 Python 環境的綜合資訊、直譯器的
呼叫，以及讓 Python 更容易使用的一些方法。

* 1. 命令列與環境

  * 1.1. 命令列

    * 1.1.1. 介面選項

    * 1.1.2. Generic options

    * 1.1.3. Miscellaneous options

    * 1.1.4. 你不該使用的選項

  * 1.2. 環境變數

    * 1.2.1. 除錯模式變數

* 2. 在 Unix 平臺上使用 Python

  * 2.1. 獲得並安裝 Python 的最新版本

    * 2.1.1. 在 Linux 上

      * 2.1.1.1. Installing IDLE

    * 2.1.2. 在 FreeBSD 和 OpenBSD 上

  * 2.2. 建置 Python

  * 2.3. 與 Python 相關的路徑和檔案

  * 2.4. 雜項

  * 2.5. 客製化 OpenSSL

* 3. 配置 Python

  * 3.1. 建置需求

  * 3.2. 產生的檔案

    * 3.2.1. 設定腳本

  * 3.3. 設定選項

    * 3.3.1. 一般選項

    * 3.3.2. WebAssembly 選項

    * 3.3.3. 安裝選項

    * 3.3.4. Performance options

    * 3.3.5. Python Debug Build

    * 3.3.6. Debug options

    * 3.3.7. Linker options

    * 3.3.8. 函式庫選項

    * 3.3.9. Security Options

    * 3.3.10. macOS 選項

    * 3.3.11. Cross Compiling Options

  * 3.4. Python Build System

    * 3.4.1. Main files of the build system

    * 3.4.2. 主要建置步驟

    * 3.4.3. 主要 Makefile 目標

    * 3.4.4. C 擴充模組

  * 3.5. Compiler and linker flags

    * 3.5.1. Preprocessor flags

    * 3.5.2. 編譯器旗標

    * 3.5.3. Linker flags

* 4. 在 Windows 上使用 Python

  * 4.1. The full installer

    * 4.1.1. 安裝步驟

    * 4.1.2. Removing the MAX_PATH Limitation

    * 4.1.3. 安裝排除使用者介面

    * 4.1.4. 當安裝時不下載

    * 4.1.5. Modifying an install

  * 4.2. The Microsoft Store package

    * 4.2.1. Known issues

      * 4.2.1.1. Redirection of local data, registry, and temporary
        paths

  * 4.3. nuget.org 套件

  * 4.4. The embeddable package

    * 4.4.1. Python Application

    * 4.4.2. 嵌入 Python

  * 4.5. Alternative bundles

  * 4.6. 設定 Python

    * 4.6.1. Excursus: Setting environment variables

    * 4.6.2. Finding the Python executable

  * 4.7. UTF-8 模式

  * 4.8. Python Launcher for Windows

    * 4.8.1. 開始

      * 4.8.1.1. From the command-line

      * 4.8.1.2. 虛擬環境（Virtual environment）

      * 4.8.1.3. From a script

      * 4.8.1.4. 從檔案關聯

    * 4.8.2. Shebang Lines

    * 4.8.3. Arguments in shebang lines

    * 4.8.4. Customization

      * 4.8.4.1. Customization via INI files

      * 4.8.4.2. Customizing default Python versions

    * 4.8.5. Diagnostics

    * 4.8.6. Dry Run

    * 4.8.7. 安裝隨選

    * 4.8.8. Return codes

  * 4.9. 找尋模組

  * 4.10. 額外的模組

    * 4.10.1. PyWin32

    * 4.10.2. cx_Freeze

  * 4.11. 編譯 Python 在 Windows

  * 4.12. 其他平台

* 5. 在 Mac 系統使用 Python

  * 5.1. 取得和安裝 Python

    * 5.1.1. 如何執行 Python 腳本

    * 5.1.2. 透過 GUI 執行腳本

    * 5.1.3. 設定

  * 5.2. 整合化開發工具 (IDE)

  * 5.3. 安裝額外的 Python 套件

  * 5.4. 開發 GUI 程式

  * 5.5. 發行 Python 應用程式

  * 5.6. 其他資源

* 6. 編輯器與 IDE

  * 6.1. IDLE --- Python editor and shell

  * 6.2. Other Editors and IDEs
