# Python 言語のサポート

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/ja-jp/help/idea/llms.txt).

> **Note:**
> [Python プラグイン(英語)](https://plugins.jetbrains.com/plugin/631-python)が [インストールされ、有効になっている](managing-plugins.html)ことを確認してください。 このプラグインは [PyCharm](https://www.jetbrains.com/ja-jp/pycharm/) のすべての機能を実装しています。 サポートされている機能の詳細については、 [PyCharm のドキュメント](https://www.jetbrains.com/ja-jp/help/pycharm/)を参照してください。

IntelliJ IDEA で Python スクリプトを開発するには:

* [Python(英語)](http://www.python.org/) をダウンロードしてインストールします。

* 少なくとも 1 つの [Python SDK](configuring-python-sdk.html) を構成します。

Windows ユーザーの場合、 [Windows 用 Python(英語)](https://www.python.org/downloads/windows/) をインストールすることをお勧めします。

## サポートされるバージョン

* Python 2 : バージョン 2.7

* Python 3: バージョン 3.9 からバージョン 3.15 まで

> **Note:**
> IntelliJ IDEA の Python 機能は、Python 3.9 以降で完全にサポートされています。 古いバージョンでは、個々のツールによるサポート状況に応じて一部の機能が制限される場合があります。
>
>
>
> 例えば、インスタンスとして新しい環境を作成するには Python 3.8 以降が必要です。 Python 3.7 以前を使用した新しいプロジェクトの場合は、ターミナルで新しい環境を作成し、その後 [IntelliJ IDEA で選択してください](configuring-python-sdk.html#existing-virtual-environment)。

次の機能は、Python 3.15 サポートの一部として利用できます：

* [PEP 800 – 型システムにおける分離された基底](https://peps.python.org/pep-0800/)

* [PEP 728 – 型付き追加アイテムを持つ TypedDict](https://peps.python.org/pep-0728/)

* [PEP 747 – 型フォームの注釈付け](https://peps.python.org/pep-0747/)

* [PEP 810 – 明示的な遅延インポート](https://peps.python.org/pep-0810/)

次の機能は、Python 3.14 サポートの一部として使用できます。

* [PEP 750 – テンプレート文字列 (英語)](https://peps.python.org/pep-0750/)

* [PEP 765 – finally ブロックを抜ける return/break/continue を許可しない](https://peps.python.org/pep-0765/)

* [PEP 649 – 記述子を使用したアノテーションの遅延評価 (英語)](https://peps.python.org/pep-0649/)

* [PEP 758 – 括弧なしの except および except* 式を許可する (英語)](https://peps.python.org/pep-0758/)

次の機能は、Python 3.13 サポートの一部として使用できます:

* [PEP 696 – 型パラメーターの型のデフォルト (英語)](https://peps.python.org/pep-0696/)

* [PEP 702 – 型システムを使用して非推奨をマークする (英語)](https://peps.python.org/pep-0702/)

* [PEP 742 – TypeIs による型の絞り込み (英語)](https://peps.python.org/pep-0742/)

* [PEP 705 – TypedDict: 読み取り専用アイテム (英語)](https://peps.python.org/pep-0705/)

次の機能は、Python 3.12 サポートの一部として使用できます:

* [PEP 695 – 型パラメーターの構文 (英語)](https://peps.python.org/pep-0695/)

* [PEP 669 – CPython の影響の少ないモニタリング (英語)](https://peps.python.org/pep-0669/)

* [PEP 701 – f-strings の構文形式化 (英語)](https://peps.python.org/pep-0701/)

* [PEP 698 – 静的型付け用のオーバーライドデコレータ (英語)](https://peps.python.org/pep-0698/)

* [PEP 692 – より正確な **kwargs 入力のために TypedDict を使用する (英語)](https://peps.python.org/pep-0692/)

次の機能は、Python 3.11 サポートの一部として使用できます:

* [PEP 673 – セルフタイプ (英語)](https://peps.python.org/pep-0673/)

* [PEP 646 – 可変個引数ジェネリクス (英語)](https://peps.python.org/pep-0646/)

* [PEP 654 – 例外グループと例外 *(英語)](https://peps.python.org/pep-0654/)

* [PEP 655 – 個々の TypedDict アイテムを必須または欠落している可能性があるものとしてマークする (英語)](https://peps.python.org/pep-0655/)

* [PEP 681 – データクラスの変換 (英語)](https://peps.python.org/pep-0681/)

次の機能は、Python 3.10 サポートの一部として使用できます:

* [PEP 647 – ユーザー定義のタイプガード (英語)](https://www.python.org/dev/peps/pep-0647/)

* [PEP 604 – 共用体型を X として記述できるようにする | Y(英語)](https://www.python.org/dev/peps/pep-0604/)

* [PEP 612 – パラメーター仕様変数 (英語)](https://www.python.org/dev/peps/pep-0612/)

* [PEP 613 – 明示的な型エイリアス (英語)](https://www.python.org/dev/peps/pep-0613/)

* [PEP 634 – 構造パターンマッチング: 仕様 (英語)](https://www.python.org/dev/peps/pep-0634/)

* [PEP 635 – 構造パターンマッチング: 動機と理論的根拠 (英語)](https://www.python.org/dev/peps/pep-0635/)

* [PEP 636 – 構造パターンマッチング: チュートリアル (英語)](https://peps.python.org/pep-0636/)

次の機能は、Python 3.9 サポートの一部として使用できます:

* [PEP 585 – 標準コレクションの型ヒントジェネリクス (英語)](https://www.python.org/dev/peps/pep-0585/)

* [PEP 593 – 柔軟な関数と変数のアノテーション (英語)](https://www.python.org/dev/peps/pep-0593/)

* [PEP 614 – デコレータの文法制限を緩和する (英語)](https://www.python.org/dev/peps/pep-0614/)

* [PEP 617 – CPython 用の新しい PEG パーサー (英語)](https://www.python.org/dev/peps/pep-0617/)

## IntelliJ IDEA での Python サポート

IntelliJ IDEA は、Python の操作に役立つ次の機能を提供します:

* 専用モジュールタイプ。

* インタープリターを [構成する](configuring-python-sdk.html)機能。

* [Python コンソール](https://www.jetbrains.com/ja-jp/help/pycharm/using-consoles.html)。

* [Python](https://www.jetbrains.com/ja-jp/help/pycharm/run-debug-configuration-python.html)、 [Python リモートデバッグ](https://www.jetbrains.com/ja-jp/help/pycharm/run-debug-configuration-python-remote-debug.html)の実行 / デバッグ構成。

* [コードインサイト](https://www.jetbrains.com/ja-jp/help/pycharm/python-code-insight.html)。

* [Python ツールのサポート](https://www.jetbrains.com/ja-jp/help/pycharm/lsp-tools.html)。

* [コードインスペクション](https://www.jetbrains.com/ja-jp/help/pycharm/code-inspection.html)。

* [インテンションアクション](https://www.jetbrains.com/ja-jp/help/pycharm/intention-actions.html)。

* [コード補完](https://www.jetbrains.com/ja-jp/help/pycharm/auto-completing-code.html)と解決。

* 組み込みのコードフォーマッタと Python [コードスタイル設定](null)の個別のセット。

* Python コードで [使用箇所の検索](https://www.jetbrains.com/ja-jp/help/pycharm/finding-usages.html)。

* [テストフレームワーク](https://www.jetbrains.com/ja-jp/help/pycharm/testing-frameworks.html)。

* [クイックドキュメント](https://www.jetbrains.com/ja-jp/help/pycharm/viewing-reference-information.html#inline-quick-documentation)。

* Python [ドキュメントコメント](https://www.jetbrains.com/ja-jp/help/pycharm/creating-documentation-comments.html)を作成します。

* [Python デバッガー](https://www.jetbrains.com/ja-jp/help/pycharm/debugger-python.html)の設定

* [Python クラスの UML クラスダイアグラム](https://www.jetbrains.com/ja-jp/help/pycharm/class-diagram.html)。

## See also

### 概念

[プロジェクト](creating-and-managing-projects.html)

