Python のセットアップと利用
***************************

このドキュメントでは 異なるプラットフォームでのPython環境のセットアッ
プの一般的な方法、インタプリタの起動とPythonでの作業を楽にする方法を説
明します。

* 1. コマンドラインと環境

  * 1.1. コマンドライン

    * 1.1.1. インターフェイスオプション

    * 1.1.2. 一般オプション

    * 1.1.3. その他のオプション

    * 1.1.4. Options you shouldn't use

  * 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. Custom OpenSSL

* 3. Python を構成する

  * 3.1. ビルド要件

  * 3.2. 生成されるファイル

    * 3.2.1. 構成スクリプト

  * 3.3. Configureオプション

    * 3.3.1. 一般的なオプション

    * 3.3.2. WebAssembly オプション

    * 3.3.3. インストールオプション

    * 3.3.4. パフォーマンスに関するオプション

    * 3.3.5. Python Debug Build

    * 3.3.6. Debug options

    * 3.3.7. リンカのオプション

    * 3.3.8. Libraries options

    * 3.3.9. Security Options

    * 3.3.10. macOS のオプション

    * 3.3.11. クロスコンパイルのオプション

  * 3.4. Python ビルドシステム

    * 3.4.1. ビルドシステムの主要なファイル

    * 3.4.2. 主要なビルドステップ

    * 3.4.3. Main Makefile targets

    * 3.4.4. C extensions

  * 3.5. Compiler and linker flags

    * 3.5.1. Preprocessor flags

    * 3.5.2. Compiler flags

    * 3.5.3. Linker flags

* 4. Windows で Python を使う

  * 4.1. The full installer

    * 4.1.1. インストール手順

    * 4.1.2. MAX_PATH の制限を除去する

    * 4.1.3. インストーラの GUI なしでインストールする

    * 4.1.4. ダウンロード不要なインストール

    * 4.1.5. インストール後の変更

  * 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. 埋め込み可能なパッケージ

    * 4.4.1. Python アプリケーション

    * 4.4.2. Python の埋め込み

  * 4.5. 別のバンドル

  * 4.6. Configuring 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. コマンドラインから起動する

      * 4.8.1.2. 仮想環境 (Virtual environments)

      * 4.8.1.3. スクリプトから起動する

      * 4.8.1.4. ファイルの関連付けから起動する

    * 4.8.2. シェバン (shebang) 行

    * 4.8.3. シェバン行の引数

    * 4.8.4. カスタマイズ

      * 4.8.4.1. INI ファイルによるカスタマイズ

      * 4.8.4.2. デフォルトのPythonバージョンのカスタマイズ

    * 4.8.5. 診断

    * 4.8.6. Dry Run

    * 4.8.7. Install on demand

    * 4.8.8. Return codes

  * 4.9. モジュールの検索

  * 4.10. 追加のモジュール

    * 4.10.1. PyWin32

    * 4.10.2. cx_Freeze

  * 4.11. Windows 上で Python をコンパイルする

  * 4.12. Other Platforms

* 5. Using Python on a Mac

  * 5.1. Getting and Installing Python

    * 5.1.1. Python スクリプトの実行方法

    * 5.1.2. Running scripts with a GUI

    * 5.1.3. Configuration

  * 5.2. The 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
