*[[Python:https://www.python.org/]] [#ff8ca087]

Python は汎用スクリプト言語です.

''注意'':この Wiki 内項目では,TeX と関連づけた Python の利用のみ扱います.
一般的な Python の情報については外部サイトを参照してください.

TeX 関連プログラムには Python で書かれたスクリプトがあります([[PythonTeX]] など).
これらのスクリプトを実行するには Python の処理系が必要です.

----
#contents
----


**インストール (Windows) [#y6c76d8e]

***本家 Windows executable installer [#vff4acd8]

本家の Windows executable installer を使用して %USERPROFILE%\AppData\Local\Programs\Python\Python35 にインストールした場合は
 ;%USERPROFILE%\AppData\Local\Programs\Python\Python35;%USERPROFILE%\AppData\Local\Programs\Python\Python35\Scripts
を環境変数 PATH に追加します.
本家の Windows executable installer を使用して %USERPROFILE%\AppData\Local\Programs\Python\Python39\ にインストールした場合は

***[[ActivePython:http://www.activestate.com/activepython]] [#e1aa7fe2]
 %USERPROFILE%\AppData\Local\Programs\Python\Python39\Scripts\

本家版の他の選択肢としては ActivePython があります.


 %USERPROFILE%\AppData\Local\Programs\Python\Python39\

を環境変数 Path に追加します.

**macOS [#q6991b06]

***[[macOS Big Sur の /usr/bin/python3 はユニバーサルバイナリで 3.8.2:https://twitter.com/h_okumura/status/1327154469130416129]] [#r1052796]