コンテンツにスキップ

「Python」の版間の差分

出典: フリー百科事典『ウィキペディア(Wikipedia)』
削除された内容 追加された内容
 
(18人の利用者による、間の35版が非表示)
4行目: 4行目:

{{Otheruses|プログラミング言語|その他の用法|パイソン (曖昧さ回避)}}

{{Otheruses|プログラミング言語|その他の用法|パイソン (曖昧さ回避)}}

{{Infobox プログラミング言語

{{Infobox プログラミング言語

| fetchwikidata = ALL

| fetchwikidata = ALL

| onlysourced = false

| onlysourced = false

| name = Python

| 名前 = Python

| logo = File:Python logo and wordmark.svg

| ロゴ = File:Python logo and wordmark.svg

| パラダイム = <!-- パラダイム -->

| released = {{start date and age|1991}}

| 登場時期 = {{start date|1991}}

| latest release version = {{Latest stable software release/CPython}} <!-- バージョンを更新するときはこのページを編集せず、Template:Latest stable software release/CPython で番号と日付を更新して下さい -->

| 設計者 = <!-- 設計者 -->

| dialects = [[Cython]], [[RPython]], [[Stackless Python]]

| 開発者 = <!-- 開発者 -->

| typing = [[強い型付け]] [[動的型付け]]<!--[[ダック・タイピング]]-->

| 最新リリース = {{Latest stable software release/CPython}} <!-- バージョンを更新するときはこのページを編集せず、Template:Latest stable software release/CPython で番号と日付を更新して下さい -->

| implementations = [[CPython]], [[PyPy]], [[IronPython]], [[Jython]]

| 最新リリース日 = <!-- 最新版リリース年月日、{{start date and age|YYYY|MM|DD}} -->

| influenced = [[Boo (プログラミング言語)|Boo]], [[Cobra (プログラミング言語)|Cobra]], [[D言語|D]], [[F Sharp|F#]], [[Falcon]], [[Go (プログラミング言語)|Go]], [[Groovy]], [[JavaScript]]<ref>[http://speakingjs.com/es5/ch03.html Chapter 3. The Nature of JavaScript] - Speaking JavaScript、2019年4月19日閲覧</ref>, [[Ruby]]<ref name="bini"/>, [[Perl]], [[Swift (プログラミング言語)|Swift]], [[Scala]]

| 型付け = [[強い型付け]] [[動的型付け]]<!--[[ダック・タイピング]]--><!-- 型システム -->

| website = {{ConditionalURL}}

| 処理系 = [[CPython]], [[PyPy]], [[IronPython]], [[Jython]]

| 方言 = [[Cython]], [[RPython]], [[Stackless Python]]

| 影響を受けた言語 = <!-- 影響を受けた言語 -->

| 影響を与えた言語 = [[Boo (プログラミング言語)|Boo]]<br>[[Cobra (プログラミング言語)|Cobra]]<br>[[D言語|D]]<br>[[F Sharp|F#]]<br>[[Falcon]]<br>[[Go (プログラミング言語)|Go]]<br>[[Groovy]]<br>[[JavaScript]]<ref>[http://speakingjs.com/es5/ch03.html Chapter 3. The Nature of JavaScript] - Speaking JavaScript、2019年4月19日閲覧</ref><br>[[Ruby]]<ref name="bini"/><br>[[Perl]]<br>[[Scala]]<br>[[Swift (プログラミング言語)|Swift]]

| プラットフォーム = <!-- プラットフォーム -->

| ライセンス = <!-- ライセンス -->

| ウェブサイト = {{ConditionalURL}}

| 拡張子 = <!-- 拡張子 -->

| wikibooks = Python Programming

}}

}}



'''Python'''(パイソン)は[[インタプリタ|インタープリタ]]型の[[高水準言語|高水準]]汎用プログラミング言語である。

'''Python'''(パイソン)は[[インタプリタ|インタープリタ]]型の[[高水準言語|高水準]]汎用[[プログラミング言語]]である。



== 概要 ==

== 概要 ==

Pythonは1991年に[[グイド・ヴァンロッサム|グイド・ヴァン・ロッサム]]により開発されたプログラミング言語である。

Pythonは1991年に[[グイド・ヴァンロッサム|グイド・ヴァン・ロッサム]]により開発されたプログラミング言語である。



最初にリリースされたPythonの設計哲学は、ホワイトスペース([[オフサイドルール]])の顕著な使用によってコードの可読性を重視している。その言語構成と[[オブジェクト指向]]のアプローチは、プログラマが小規模なプロジェクトから大規模なプロジェクトまで、明確で論理的なコードを書くのを支援することを目的としている。

最初にリリースされたPythonの設計哲学は、ホワイトスペース([[オフサイドルール]])の顕著な使用によって[[ソースコード|コード]]の可読性を重視している。その言語構成と[[オブジェクト指向]]のアプローチは、[[プログラマ]]が小規模なプロジェクトから大規模なプロジェクトまで、明確で論理的なコードを書くのを支援することを目的としている。




Python[[|]][[]][[|]][[|]][[]][[|]][[]]Python<ref group="">{{Cite web|title=Welcome to Python.org|url=https://www.python.org/about/|website=Python.org|accessdate=2020-08-10|language=en}}</ref>

Python[[|]][[]][[|]][[|]][[]][[|]][[]]Python<ref group="">{{Cite web|title=Welcome to Python.org|url=https://www.python.org/about/|website=Python.org|accessdate=2020-08-10|language=en}}</ref>


Pythonのインタプリタは多くのOSに対応している。プログラマーのグローバルコミュニティは、[[FLOSS|無料のオープンソース]] <ref group="†">{{Cite web|url=https://docs.python.org/3/license.html|title=History and License|accessdate=5 December 2016}} "All Python releases are Open Source"</ref> [[リファレンス実装]]である[[CPython]]を開発および保守している 。非営利団体である[[Pythonソフトウェア財団]]は、PythonとCPythonの開発のためのリソースを管理・指導している。

Pythonのインタプリタは多くのOSに対応している。プログラマーのグローバルコミュニティは、[[FLOSS|自由かつオープンソース]] <ref group="†">{{Cite web|url=https://docs.python.org/3/license.html|title=History and License|accessdate=5 December 2016}} "All Python releases are Open Source"</ref> [[リファレンス実装]]である[[CPython]]を開発および保守している 。非営利団体である[[Pythonソフトウェア財団]]は、PythonとCPythonの開発のためのリソースを管理・指導している。

=== 特徴 ===

=== 特徴 ===

Pythonは[[インタプリタ]]上で実行することを前提に設計している。以下の特徴をもっている:

Pythonは[[インタプリタ]]上で実行することを前提に設計している。以下の特徴をもっている:

116行目: 125行目:

例として、文字列型の値を受け取って文字列型の値を返す関数は次のようにアノテーションできる。<syntaxhighlight lang="python3">

例として、文字列型の値を受け取って文字列型の値を返す関数は次のようにアノテーションできる。<syntaxhighlight lang="python3">

def greeting(name: str) -> str:

def greeting(name: str) -> str:

return 'Hello ' + name

return f"Hello {name}"

</syntaxhighlight>

</syntaxhighlight>



155行目: 164行目:


=== 多言語の扱い ===

=== 多言語の扱い ===

最初のPythonでは1バイト単位での[[文字列]]型のみ扱い、[[仮名|ひらがな・(全角) カタカナ]]および漢字のような[[マルチバイト文字]]はサポートしていなかったが、その後のPython 2.0からは[[Unicode]]文字型が新たに導入された<ref group="†" name="PEP100" />。

最初のPythonでは1バイト単位での[[文字列]]型のみ扱い、[[仮名 (文字)|ひらがな・(全角) カタカナ]]および漢字のような[[マルチバイト文字]]はサポートしていなかったが、その後のPython 2.0からは[[Unicode]]文字型が新たに導入された<ref group="†" name="PEP100" />。



Python 3.0では、Python 2.xにおける文字列型がバイト列型に、またUnicode文字列型が文字列型に変更された。これにより、文字列をPython 3.0で扱う際には後述の変換処理を必ず行う必要がある。ファイル入出力などでエンコードを明示しなければ、標準エンコードを用いて暗黙に行われる場合も多い。これにより多言語の扱いを一貫したものにしている。

Python 3.0では、Python 2.xにおける文字列型がバイト列型に、またUnicode文字列型が文字列型に変更された。これにより、文字列をPython 3.0で扱う際には後述の変換処理を必ず行う必要がある。ファイル入出力などでエンコードを明示しなければ、標準エンコードを用いて暗黙に行われる場合も多い。これにより多言語の扱いを一貫したものにしている。

166行目: 175行目:


<syntaxhighlight lang="python">

<syntaxhighlight lang="python">

#! /usr/bin/python2

#!/usr/bin/env python3

# -*- coding: utf-8 -*-

# -*- coding: utf-8 -*-

s = '日本語の文字列'

s = '日本語の文字列'

176行目: 185行目:

=== 動作環境 ===

=== 動作環境 ===

Pythonの最初のバージョンは[[Amoeba (オペレーティングシステム)|Amoeba]]上で開発された。のちに多くの計算機環境上で動作するようになった。

Pythonの最初のバージョンは[[Amoeba (オペレーティングシステム)|Amoeba]]上で開発された。のちに多くの計算機環境上で動作するようになった。

* [[Microsoft Windows|Windows]]<ref name=":2">Windows (MS)にPython (Anaconda)を導入する(6つの罠) https://qiita.com/kaizen_nagoya/items/7bfd7ecdc4e8edcbd679</ref>, [[Microsoft Windows CE|Windows CE]]([[Windows 9x系|9x系]]および[[Windows NT系|NT系]]は最新版、[[Microsoft Windows 3.x|Windows 3.1]]および[[MS-DOS]]は旧版のみ)

* [[Microsoft Windows|Windows]], [[Microsoft Windows CE|Windows CE]]([[Windows 9x系|9x系]]および[[Windows NT系|NT系]]は最新版、[[Microsoft Windows 3.x|Windows 3.1]]および[[MS-DOS]]は旧版のみ)

* Macintosh ([[Classic Mac OS]]および[[macOS]]ともに)

* Macintosh ([[Classic Mac OS]]および[[macOS]]ともに)

* iOS Pythonista for iOS (omz:software)

* iOS Pythonista for iOS (omz:software)

201行目: 210行目:

* [[tinypy]] - 同じく組み込み向けの実装。ソースコードが 64 [[キロバイト|kB]]未満と非常に軽量なことが謳われている。

* [[tinypy]] - 同じく組み込み向けの実装。ソースコードが 64 [[キロバイト|kB]]未満と非常に軽量なことが謳われている。

* [[MicroPython]] - 組み込み向けの実装。256 kB以上のフラッシュを推奨。

* [[MicroPython]] - 組み込み向けの実装。256 kB以上のフラッシュを推奨。

* [[Pyodide]] - [[WebAssembly]]向けの実装<ref group="※">[https://github.com/iodide-project/pyodide GitHub - pyodide/pyodide: Python with the scientific stack, compiled to WebAssembly.]</ref>

* [[Pyodide]] - [[WebAssembly]]向けの実装<ref group="※">[https://github.com/iodide-project/pyodide GitHub - pyodide/pyodide: Python with the scientific stack, compiled to WebAssembly.]</ref>

* [[IPython]] - 対話計算に向けたPythonへのシェル

* [[IPython]] - 対話計算に向けたPythonへのシェル

* Codon - Python言語ソースから機械語へのコンパイラ処理系<ref>[https://github.com/exaloop/codon exaloop/Codon]</ref><ref>[https://news.mit.edu/2023/codon-python-based-compiler-achieve-orders-magnitude-speedups-0314 "Python-based compiler achieves orders-of-magnitude speedups", MIT News, (March 14, 2023).]</ref><ref>[https://spectrum.ieee.org/python-compiler "MIT Turbocharges Python’s Notoriously Slow Compiler > Codon lets users run Python code as efficiently as C or C++", IEEE Spectrum (2023年3月30日掲載記事)]</ref>

* Codon - Python言語ソースから機械語へのコンパイラ処理系<ref>[https://github.com/exaloop/codon exaloop/Codon]</ref><ref>[https://news.mit.edu/2023/codon-python-based-compiler-achieve-orders-magnitude-speedups-0314 "Python-based compiler achieves orders-of-magnitude speedups", MIT News, (March 14, 2023).]</ref><ref>[https://spectrum.ieee.org/python-compiler "MIT Turbocharges Python’s Notoriously Slow Compiler > Codon lets users run Python code as efficiently as C or C++", IEEE Spectrum (2023年3月30日掲載記事)]</ref>

* PyOMP - PythonをOpenMPで並列化するシステム<ref>T. G. Mattson, T. A. Anderson and G. Georgakoudis, "PyOMP: Multithreaded Parallel Programming in Python," in Computing in Science & Engineering, vol. 23, no. 6, pp. 77-80, 1 Nov.-Dec. 2021, doi: 10.1109/MCSE.2021.3128806.</ref><ref>[https://www.youtube.com/watch?v=uKD21Yo4yVg PyOMP: Parallel multithreading that is fast AND Pythonic. Presented by Tim Mattson (Intel)]</ref>

* PyOMP - PythonをOpenMPで並列化するシステム<ref>T. G. Mattson, T. A. Anderson and G. Georgakoudis, "PyOMP: Multithreaded Parallel Programming in Python," in Computing in Science & Engineering, vol. 23, no. 6, pp. 77-80, 1 Nov.-Dec. 2021, doi: 10.1109/MCSE.2021.3128806.</ref><ref>[https://www.youtube.com/watch?v=uKD21Yo4yVg PyOMP: Parallel multithreading that is fast AND Pythonic. Presented by Tim Mattson (Intel)]</ref>



== エコシステム ==

== エコシステム ==

211行目: 220行目:

=== パッケージ管理 ===

=== パッケージ管理 ===

[[ファイル:Python build and install.png|サムネイル|ビルドシステム/wheel/インストーラ]]

[[ファイル:Python build and install.png|サムネイル|ビルドシステム/wheel/インストーラ]]

Pythonのパッケージ管理は[[Pip|<code>pip</code>]]・<code>pipenv</code>・<code>poetry</code>・[[EasyInstall]]などの[[パッケージ管理システム]]によっておこなわれる。バイナリパッケージの[[ファイルフォーマット|フォーマット]]には'''wheel'''があり、これを[[インタフェース (情報技術)|インタフェース]]としてビルドシステムとパッケージ管理システムの分離が可能になっている<ref group="†">"Wheel attempts to remedy these problems by providing a simpler interface between the build system and the installer." [https://www.python.org/dev/peps/pep-0427/ PEP 427 -- The Wheel Binary Package Format 1.0]</ref>。

Pythonのパッケージ管理は[[Pip|<code>pip</code>]]・<code>pipenv</code>・<code>poetry</code>・<code>rye</code>・[[EasyInstall]]などの[[パッケージ管理システム]]によっておこなわれる。バイナリパッケージの[[ファイルフォーマット|フォーマット]]には'''wheel'''があり、これを[[インタフェース (情報技術)|インタフェース]]としてビルドシステムとパッケージ管理システムの分離が可能になっている<ref group="†">"Wheel attempts to remedy these problems by providing a simpler interface between the build system and the installer." [https://www.python.org/dev/peps/pep-0427/ PEP 427 -- The Wheel Binary Package Format 1.0]</ref>。



[[Python Package Index]] (PyPI) と呼ぶ公式のパッケージリポジトリが存在する。

[[Python Package Index]] (PyPI) と呼ぶ公式のパッケージリポジトリが存在する。

222行目: 231行目:

**[[行列]]演算パッケージの [[NumPy]]

**[[行列]]演算パッケージの [[NumPy]]

** プログラミング数学、科学、工学のための数値計算 [[SciPy]]

** プログラミング数学、科学、工学のための数値計算 [[SciPy]]

* 機械学習・データサイエンス・AI

** [[scikit-learn]]

** [[TensorFlow]]

** [[PyTorch]]

* データ解析ソフト [[pandas]]

* データ解析ソフト [[pandas]]

* データ処理インタフェース [[IPython]]

* グラフ表示ソフト [[Matplotlib]]

* グラフ表示ソフト [[Matplotlib]]

* 描画ソフト [[Seaborn]]

* 描画ソフト [[Seaborn]]

* データ処理インタフェース [[IPython]]

* 数式処理機能 [[SymPy]]

* 数式処理機能 [[SymPy]]

* データ処理の高速化 [[PyPy]]

* データ処理の高速化 [[PyPy]]

* Pythonアプリのコンパイルによる高速化 [[Numba]]

* Pythonアプリのコンパイルによる高速化 [[Numba]]

* 機械学習

** [[scikit-learn]]

** [[TensorFlow]]

** [[PyTorch]]

* 画像処理のための [[Python Imaging Library]]

* 画像処理のための [[Python Imaging Library]]

* [[SDL]]のラッパである [[Pygame]]

* [[SDL]]のラッパである [[Pygame]]

265行目: 274行目:

[[NumPy]], [[SciPy]]などの高速な数値計算ライブラリの存在により、データサイエンスや科学技術コンピューティングにもよく用いられる。NumPy, SciPyの内部はC言語で書かれているので、動的スクリプト言語の欠点の一つである動作速度の遅さを補っている<ref>{{cite web|url=http://www.computer.org/csdl/mags/cs/2011/02/mcs2011020009.html|title=Python for Scientists and Engineers|accessdate=2015-08-09}}</ref>。[[Numba]] を使うと、Python のコードが [[LLVM]] に [[JITコンパイル]]して利用可能であり、非常に高速な計算ができる。[[TensorFlow]] などのライブラリにより [[Graphics Processing Unit|GPU]] 上で高速に計算するライブラリも充実している。

[[NumPy]], [[SciPy]]などの高速な数値計算ライブラリの存在により、データサイエンスや科学技術コンピューティングにもよく用いられる。NumPy, SciPyの内部はC言語で書かれているので、動的スクリプト言語の欠点の一つである動作速度の遅さを補っている<ref>{{cite web|url=http://www.computer.org/csdl/mags/cs/2011/02/mcs2011020009.html|title=Python for Scientists and Engineers|accessdate=2015-08-09}}</ref>。[[Numba]] を使うと、Python のコードが [[LLVM]] に [[JITコンパイル]]して利用可能であり、非常に高速な計算ができる。[[TensorFlow]] などのライブラリにより [[Graphics Processing Unit|GPU]] 上で高速に計算するライブラリも充実している。



[[ジェットブレインズ|JetBrains]] とPythonソフトウェア財団による共同調査によると、2017年10月現在、最も主要な用途は何かというアンケートで、用途の27%がデータサイエンス(そのうち18%がデータ解析、9%が[[機械学習]])である<ref name="python-developers-survey-2017"/>。

[[ジェットブレインズ|JetBrains]] とPythonソフトウェア財団による共同調査によると、2017年10月現在、Pythonの最も主要な用途は何かというアンケートの結果によると、27%がデータサイエンス(そのうち18%がデータ解析、9%が[[機械学習]])である<ref name="python-developers-survey-2017"/>。



=== Webアプリケーション用途 ===

=== Webアプリケーション用途 ===

283行目: 292行目:


=== 教育用 ===

=== 教育用 ===


Python<ref name="not-for-education" />[[]]Python[[ABC_()|ABC]]<ref name="edu-sig" />

Python<ref name="not-for-education" />[[]]Python[[ABC_()|ABC]]<ref name="edu-sig" />


<blockquote>私の大好きなPython利用法は、騒ぎ立てずに、言語教育でプログラミングの原理を教えること。それを考えてくれ――次の世代の話だね。<cite>-- [http://slashdot.jp/story/04/07/24/1020202/ スラッシュット・ジャパン『 Guido van Rossum へのインタビュー』]</cite></blockquote>

<blockquote>私の大好きなPython利用法は、騒ぎ立てずに、言語教育でプログラミングの原理を教えること。それを考えてくれ――次の世代の話だね。<cite>-- [https://srad.jp/story/04/07/24/1020202/ スラド『 Guido van Rossum へのインタビュー』]</cite></blockquote>



[[情報処理推進機構]] (IPA) は[[国家試験]]の[[基本情報技術者試験]]で2020年の春期試験より [[COBOL]] を廃止して Python を追加した<ref>[https://www.ipa.go.jp/about/press/20190124.html プレス発表 基本情報技術者試験における出題を見直し:IPA 独立行政法人 情報処理推進機構]</ref>。

[[情報処理推進機構]] (IPA) は[[国家試験]]の[[基本情報技術者試験]]で2020年の春期試験から [[COBOL]] を廃止して Python を追加した<ref>[https://www.ipa.go.jp/about/press/20190124.html プレス発表 基本情報技術者試験における出題を見直し:IPA 独立行政法人 情報処理推進機構]</ref>。



日本の[[情報 (教科)|高等学校情報科]]「情報Ⅰ」の教員向け研修教材の中で、プログラミング用言語としてPythonが使われている<ref>[[文部科学省]]初等中等教育局情報教育・外国語教育課 [https://www.mext.go.jp/a_menu/shotou/zyouhou/detail/1416756.htm 高等学校情報科「情報Ⅰ」教員研修用教材(本編)]「[http://www.mext.go.jp/component/a_menu/education/micro_detail/__icsFiles/afieldfile/2019/05/15/1416758_005.pdf 第3章 コンピューターとプログラミング]」(2019年5月)</ref>。

日本の[[情報 (教科)|高等学校情報科]]「情報Ⅰ」の教員向け研修教材の中で、プログラミング用言語としてPythonが使われている<ref>[[文部科学省]]初等中等教育局情報教育・外国語教育課 [https://www.mext.go.jp/a_menu/shotou/zyouhou/detail/1416756.htm 高等学校情報科「情報Ⅰ」教員研修用教材(本編)]「[http://www.mext.go.jp/component/a_menu/education/micro_detail/__icsFiles/afieldfile/2019/05/15/1416758_005.pdf 第3章 コンピューターとプログラミング]」(2019年5月)</ref>。




PythonC使

PythonCPython



Python<ref name=":5">{{Cite web |title=Python |url=https://www.hallo.jp/fs/column/20230202/ |website=www.hallo.jp |access-date=2023-06-02 |language=ja}}</ref>

Python1<ref name=":5">{{Cite web||title=Python |url=https://www.hallo.jp/fs/column/20230202/ |website=www.hallo.jp |access-date=2023-06-02 |language=ja}}</ref>


<syntaxhighlight lang="python3">

<syntaxhighlight lang="python3">

# Pythonで記述した「Hello,World!」の例

# Pythonで記述した「Hello,World!」の例

# Pythonは最低一行のコードで文字を表示することができる。

# Pythonはたった一行のコードで文字を表示することができる。

print("Hello, World!")

print("Hello, World!")

</syntaxhighlight><syntaxhighlight lang="java">

</syntaxhighlight><syntaxhighlight lang="java">

// Javaで記述した「Hello, World!」の例

// Javaで記述した「Hello, World!」の例

// Javaは文字の表示に最低5行(括弧を除くと3行)コードを記述する必要がある。

// Javaは文字の表示に最低5行(括弧を除くと3行)コードを記述する必要がある(もちろん改行をせずに横に連ねて書けば1行にもできるのだが)

public class hoge {

public class hoge {

public static void main(String...args) {

public static void main(String...args) {

307行目: 316行目:

}

}

}

}

</syntaxhighlight>Pythonはその文法のシンプルのおかげで、 誰が書いても似たようなコードになると性質があるので、学習いけば大人作成したコードを理解できるようになる。<ref name=":5" />

</syntaxhighlight>Pythonはその文法の簡潔により、 誰が書いても似たようなコードになりやすい性質があるので、学習が進むにつれて大人作成したコードを理解できるようになる。<ref name=":5" />



また、シンプルな文法なのでコードを記述している混乱することがあまりなく、子どもが途中で投げ出にくという点も教育用として利用される理由でもある。<ref name=":5" />

また、文法が簡潔なのでコードを記述している混乱することがなくなり、子が途中で諦めてまう傾向が少ない点も教育用として利用される理由でもある。<ref name=":5" />



=== スポーツパフォーマンス分析 ===

=== スポーツパフォーマンス分析 ===

316行目: 325行目:

Pythonを使ってデータをプログラミングする方法を示したり、マネーボールのストーリーの背景にある主張を検証したり、マネーボールの統計の進化を調べたりすることが可能である。公開されているデータセットから野球のパフォーマンス統計を計算するプロセスを案内される。実行期待値マトリックスを使用して導出された、より高度な測定値(Wins Over Replace([[WAR (野球)|WAR]])など)に進む。これらの統計を使用して、独自のチームおよびプレーヤーの分析を行うことができるようになる<ref name=":4">{{Cite web |title=Moneyball and Beyond |url=https://www.coursera.org/learn/moneyball-and-beyond?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref><ref name=":3">{{Cite web |title=Prediction Models with Sports Data |url=https://www.coursera.org/learn/prediction-models-sports-data?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>。

Pythonを使ってデータをプログラミングする方法を示したり、マネーボールのストーリーの背景にある主張を検証したり、マネーボールの統計の進化を調べたりすることが可能である。公開されているデータセットから野球のパフォーマンス統計を計算するプロセスを案内される。実行期待値マトリックスを使用して導出された、より高度な測定値(Wins Over Replace([[WAR (野球)|WAR]])など)に進む。これらの統計を使用して、独自のチームおよびプレーヤーの分析を行うことができるようになる<ref name=":4">{{Cite web |title=Moneyball and Beyond |url=https://www.coursera.org/learn/moneyball-and-beyond?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref><ref name=":3">{{Cite web |title=Prediction Models with Sports Data |url=https://www.coursera.org/learn/prediction-models-sports-data?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>。



Pythonを使用してプロスポーツの試合結果の予測を生成する方法の主な重点は、チームの支出に関するデータを使用して、ゲームの結果をモデル化する方法として[[ロジスティック回帰]]の方法を教えることである。過去の結果をモデル化し、そのモデルを使用して、まだプレイされていない結果のゲームを予測するプロセスを実行する。ベッティングオッズのデータを使用してモデルの信頼性を評価する方法をオーナーに示す。分析は最初に英国プレミアリーグに適用され、次にNBAとNHLに適用される。データ分析とギャンブルの関係、その歴史、および個人的なリスクを含むスポーツベッティングに関連して発生する社会的問題の概要も説明する。マネーボールは、データ分析を使用してチームの勝率を高めることができることを示すことにより、プロスポーツのパフォーマンス統計の分析に革命を引き起こした<ref name=":4">{{Cite web |title=Moneyball and Beyond |url=https://www.coursera.org/learn/moneyball-and-beyond?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref><ref name=":3">{{Cite web |title=Prediction Models with Sports Data |url=https://www.coursera.org/learn/prediction-models-sports-data?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>。


Python使使[[]]使使NBANHL使{{||date=20242}}<ref name=":4">{{Cite web |title=Moneyball and Beyond |url=https://www.coursera.org/learn/moneyball-and-beyond?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref><ref name=":3">{{Cite web |title=Prediction Models with Sports Data |url=https://www.coursera.org/learn/prediction-models-sports-data?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>


Pythonを使用してデータをプログラムし、マネーボールのストーリーの背後にある主張をテストし、マネーボール統計の進化を調べる方法を示し、公開されているデータセットから野球のパフォーマンス統計を計算するプロセスができる<ref name=":4">{{Cite web |title=Moneyball and Beyond |url=https://www.coursera.org/learn/moneyball-and-beyond?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref><ref name=":3">{{Cite web |title=Prediction Models with Sports Data |url=https://www.coursera.org/learn/prediction-models-sports-data?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>。スポーツ分析には、トレーニングと競技の両方の取り組みを定量化するアスリートとチームからの大量のPythonデータセットが含まれるようになった。ウェアラブルテクノロジーデバイスは、アスリートが毎日着用しており、シーズン全体にわたるアスリートのストレスと回復を詳細に調べるためのかなりの機会を提供する。これらの大規模なデータセットのキャプチャは、怪我の予防に関する新しい仮説と戦略、およびトレーニングと回復を最適化するためのアスリートへの詳細なフィードバックにつながった。Pythonでのプログラミングを使用して、トレーニング、回復、パフォーマンスに関連する概念を調査することもできる<ref>{{Cite web |title=Wearable Technologies and Sports Analytics |url=https://www.coursera.org/learn/wearable-technologies?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>。

Pythonを使用してデータをプログラムし、マネーボールのストーリーの背後にある主張をテストし、マネーボール統計の進化を調べる方法を示し、公開されているデータセットから野球のパフォーマンス統計を計算するプロセスができる<ref name=":4">{{Cite web |title=Moneyball and Beyond |url=https://www.coursera.org/learn/moneyball-and-beyond?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref><ref name=":3">{{Cite web |title=Prediction Models with Sports Data |url=https://www.coursera.org/learn/prediction-models-sports-data?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>。スポーツ分析には、トレーニングと競技の両方の取り組みを定量化するアスリートとチームからの大量のPythonデータセットが含まれるようになった。ウェアラブルテクノロジーデバイスは、アスリートが毎日着用しており、シーズン全体にわたるアスリートのストレスと回復を詳細に調べるためのかなりの機会を提供する。これらの大規模なデータセットのキャプチャは、怪我の予防に関する新しい仮説と戦略、およびトレーニングと回復を最適化するためのアスリートへの詳細なフィードバックにつながった。Pythonでのプログラミングを使用して、トレーニング、回復、パフォーマンスに関連する概念を調査することもできる<ref>{{Cite web |title=Wearable Technologies and Sports Analytics |url=https://www.coursera.org/learn/wearable-technologies?specialization=sports-analytics |website=Coursera |accessdate=2022-02-02 |language=ja}}</ref>。

338行目: 347行目:

バージョン2.4には、子プロセスの起動やコマンドを実行できるsubprocessモジュールが実装された。<ref name="about-subprocess-module">https://www.fenet.jp/dotnet/column/language/7841/ 「Pythonのsubprocessモジュールの使い方|子プロセスの起動方法からわかりやすく解説」.NET Column (2021年3月25日) 2023年5月17日閲覧。</ref>

バージョン2.4には、子プロセスの起動やコマンドを実行できるsubprocessモジュールが実装された。<ref name="about-subprocess-module">https://www.fenet.jp/dotnet/column/language/7841/ 「Pythonのsubprocessモジュールの使い方|子プロセスの起動方法からわかりやすく解説」.NET Column (2021年3月25日) 2023年5月17日閲覧。</ref>




2.62.x3.x2to3 lib2to3 <ref group="" name="2to3">{{cite web|url=http://docs.python.jp/3.3/howto/pyporting.html|title=Python 2  Python 3 |publisher=Python Software Foundation|accessdate=2014-03-13}}</ref>2.72.x2.7[[2020]][[11]]<ref group="">[https://www.python.org/dev/peps/pep-0373/ PEP 373 -- Python 2.7 Release Schedule | Python.org]</ref> 2.7.18 20204 2.7.x <ref>"Python 2.7.18Python 2.7Python 2 "</ref><ref name=":1">{{Cite web |url=https://pythoninsider.blogspot.com/2020/04/python-2718-last-release-of-python-2.html |title=Python Insider: Python 2.7.18, the last release of Python 2 |last=Peterson |first=Benjamin |date=2020-04-20 |website=Python Insider |access-date=2020-04-27}}</ref><ref group="">{{Cite web |url=https://www.python.org/doc/sunset-python-2/ |title=Sunsetting Python 2 |website=Python.org |language=en |access-date=2019-09-22}}</ref>

2.62.x3.x2to3 lib2to3 <ref group="" name="2to3">{{Cite web||url=http://docs.python.jp/3.3/howto/pyporting.html|title=Python 2  Python 3 |publisher=Python Software Foundation|accessdate=2014-03-13}}</ref>2.72.x2.7[[2020]][[11]]<ref group="">[https://www.python.org/dev/peps/pep-0373/ PEP 373 -- Python 2.7 Release Schedule | Python.org]</ref> 2.7.18 20204 2.7.x <ref>"Python 2.7.18Python 2.7Python 2 "</ref><ref name=":1">{{Cite web |url=https://pythoninsider.blogspot.com/2020/04/python-2718-last-release-of-python-2.html |title=Python Insider: Python 2.7.18, the last release of Python 2 |last=Peterson |first=Benjamin |date=2020-04-20 |website=Python Insider |access-date=2020-04-27}}</ref><ref group="">{{Cite web |url=https://www.python.org/doc/sunset-python-2/ |title=Sunsetting Python 2 |website=Python.org |language=en |access-date=2019-09-22}}</ref>


{| class="wikitable" style="float: center;"

{| class="wikitable" style="float: center;"

382行目: 391行目:

開発初期には、西暦3000年に公開予定の理想のPythonとして、Python 3000と呼んでいた。Py3Kと略すこともある。

開発初期には、西暦3000年に公開予定の理想のPythonとして、Python 3000と呼んでいた。Py3Kと略すこともある。




2.x2.x3.x[[Django]]3.x[[2016]]3.x<ref>{{cite web|url=http://www.sejuku.net/blog/8988/|title=Python23 |author=|publisher=  |accessdate=2016-09-21}}</ref>{{|date=2018-11}}JetBrains Python調Python 23Python 3 2016140%20171075%<ref name="python-developers-survey-2017">[https://www.jetbrains.com/research/python-developers-survey-2017/ Python Developers Survey 2017 - Results]</ref><ref>[https://opensource.com/article/18/5/numbers-python-community-trends By the numbers: Python community trends in 2017/2018 | Opensource.com]</ref>

2.x2.x3.x[[Django]]3.x[[2016]]3.x<ref>{{Cite web||url=http://www.sejuku.net/blog/8988/|title=Python23 |author=|publisher=  |accessdate=2016-09-21}}</ref>{{|date=2018-11}}JetBrains Python調Python 23Python 3 2016140%20171075%<ref name="python-developers-survey-2017">[https://www.jetbrains.com/research/python-developers-survey-2017/ Python Developers Survey 2017 - Results]</ref><ref>[https://opensource.com/article/18/5/numbers-python-community-trends By the numbers: Python community trends in 2017/2018 | Opensource.com]</ref>


[[2015年]]11月にリリースされた[[Fedora|Fedora 23]]<ref name="Fedora 23_Python3_Change">{{cite web|url=https://fedoraproject.org/wiki/Changes/Python_3_as_Default/|title=【Changes/Python 3 as Default |publisher=[[Fedora Project]] |accessdate=2016-09-21}}</ref>や2016年4月にリリースされた[[Ubuntu|Ubuntu 16.04 LTS]]<ref name="Ubuntu 16.04 LTS_Python3_Change">{{cite web|url=https://wiki.ubuntu.com/XenialXerus/ReleaseNotes/Ja/|title= Ja |author=kuromabo|publisher=Ubuntu.com |accessdate=2016-09-21}}</ref>では、デフォルトでインストールされるPythonのバージョンが2.xから3.xに変更されている。[[Red Hat Enterprise Linux]]では7.5をもってPython 2が廃止予定(deprecated)となった<ref>[https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.5_release_notes/chap-red_hat_enterprise_linux-7.5_release_notes-deprecated_functionality_in_rhel7 Red Hat Enterprise Linux 7 Chapter 53. Deprecated Functionality - Red Hat Customer Portal]</ref>。

[[2015年]]11月にリリースされた[[Fedora|Fedora 23]]<ref name="Fedora 23_Python3_Change">{{cite web|url=https://fedoraproject.org/wiki/Changes/Python_3_as_Default/|title=【Changes/Python 3 as Default |publisher=[[Fedora Project]] |accessdate=2016-09-21}}</ref>や2016年4月にリリースされた[[Ubuntu|Ubuntu 16.04 LTS]]<ref name="Ubuntu 16.04 LTS_Python3_Change">{{cite web|url=https://wiki.ubuntu.com/XenialXerus/ReleaseNotes/Ja/|title= Ja |author=kuromabo|publisher=Ubuntu.com |accessdate=2016-09-21}}</ref>では、デフォルトでインストールされるPythonのバージョンが2.xから3.xに変更されている。[[Red Hat Enterprise Linux]]では7.5をもってPython 2が廃止予定(deprecated)となった<ref>[https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.5_release_notes/chap-red_hat_enterprise_linux-7.5_release_notes-deprecated_functionality_in_rhel7 Red Hat Enterprise Linux 7 Chapter 53. Deprecated Functionality - Red Hat Customer Portal]</ref>。

438行目: 447行目:

|2022年10月24日

|2022年10月24日

|2027年10月

|2027年10月

|-

|3.12

|2023年10月2日

|2028年10月

|}

|}



'''3.0'''<ref name="Version_3.0">{{cite web|url=https://news.mynavi.jp/techplus/article/20090101-python3/|title=登場! Python 3.0 - 2系との違いを比較|publisher=[[マイナビ]]|date=2009-01-01|accessdate=2014-03-13}}</ref>

'''3.0'''<ref name="Version_3.0">{{Cite web|和書|url=https://news.mynavi.jp/techplus/article/20090101-python3/|title=登場! Python 3.0 - 2系との違いを比較|publisher=[[マイナビ]]|date=2009-01-01|accessdate=2014-03-13}}</ref>

* print命令をprint関数へ変更

* print命令をprint関数へ変更

* Unicodeを全面採用

* Unicodeを全面採用

* 整数をint型に一本化

* 整数をint型に一本化



'''3.1'''<ref name="Version_3.1_a">{{cite web|url=http://sourceforge.jp/magazine/09/06/30/0623238|title=「Python 3.1」正式版リリース|publisher=OSDN Corporation|date=2009-07-01|accessdate=2014-03-13}}</ref><ref name="Version_3.1_b">{{cite web|url=http://slashdot.jp/story/09/07/01/0410243/Python-3.1%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9|title=Python 3.1リリース|publisher=OSDN Corporation|date=2009-06-30|accessdate=2014-03-13}}</ref>

'''3.1'''<ref name="Version_3.1_a">{{Cite web|和書|url=http://sourceforge.jp/magazine/09/06/30/0623238|title=「Python 3.1」正式版リリース|publisher=OSDN Corporation|date=2009-07-01|accessdate=2014-03-13}}</ref><ref name="Version_3.1_b">{{Cite web|和書|url=http://slashdot.jp/story/09/07/01/0410243/Python-3.1%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9|title=Python 3.1リリース|publisher=OSDN Corporation|date=2009-06-30|accessdate=2014-03-13}}</ref>

* 順序付き辞書

* 順序付き辞書

* 単体テストフレームワーク「unittest」への機能追加

* 単体テストフレームワーク「unittest」への機能追加

452行目: 465行目:

* ネストしたwith文に対する新たな文法

* ネストしたwith文に対する新たな文法



'''3.2'''<ref name="Version_3.2">{{cite web|url=http://developers.slashdot.jp/story/11/02/21/221210/Python-3.2-%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9|title=Python 3.2リリース|publisher=OSDN Corporation|date=2011-02-22|accessdate=2014-03-13}}</ref>

'''3.2'''<ref name="Version_3.2">{{Cite web|和書|url=http://developers.slashdot.jp/story/11/02/21/221210/Python-3.2-%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9|title=Python 3.2リリース|publisher=OSDN Corporation|date=2011-02-22|accessdate=2014-03-13}}</ref>

* 単体テストモジュールのアップデートや拡張モジュール向け stable ABI

* 単体テストモジュールのアップデートや拡張モジュール向け stable ABI

* pyc レポジトリディレクトリのサポート

* pyc レポジトリディレクトリのサポート

459行目: 472行目:


;3.3

;3.3


:3.12<ref name="Version_3.3">{{cite web|url=http://sourceforge.jp/magazine/12/10/01/004254|title=Python 3.3|publisher=[[SourceForge.JP]]|author=|date=2012-10-01|accessdate=2014-03-13}}</ref>

:3.12<ref name="Version_3.3">{{Cite web||url=http://sourceforge.jp/magazine/12/10/01/004254|title=Python 3.3|publisher=[[SourceForge.JP]]|author=|date=2012-10-01|accessdate=2014-03-13}}</ref>

* 新しい文法として、ジェネレータ関数内で別のジェネレータ関数を利用する「yield from」を追加。

* 新しい文法として、ジェネレータ関数内で別のジェネレータ関数を利用する「yield from」を追加。

* 「u」や「U」といったプレフィックスを用いたUnicodeリテラルシンタックスを復活

* 「u」や「U」といったプレフィックスを用いたUnicodeリテラルシンタックスを復活

465行目: 478行目:

* 仮想化Python実行環境を導入するためのvirtualenvパッケージの機能を「venv」機能としてコアに取り込んだ。

* 仮想化Python実行環境を導入するためのvirtualenvパッケージの機能を「venv」機能としてコアに取り込んだ。



;3.4<ref name="Version_3.4_a">{{cite web|url=https://news.mynavi.jp/techplus/article/20140318-a217/|title=Python 3.4登場|publisher=[[マイナビニュース]]|author=後藤大地|date=2014-03-18|accessdate=2014-03-20}}</ref><ref name="Version_3.4_b">{{cite web|url=http://sourceforge.jp/magazine/14/03/18/170000|title=「Python 3.4」リリース、標準ライブラリを強化|publisher=[[SourceForge.JP]]|author=末岡洋子|date=2014-03-18|accessdate=2014-03-20}}</ref>

;3.4<ref name="Version_3.4_a">{{Cite web|和書|url=https://news.mynavi.jp/techplus/article/20140318-a217/|title=Python 3.4登場|publisher=[[マイナビニュース]]|author=後藤大地|date=2014-03-18|accessdate=2014-03-20}}</ref><ref name="Version_3.4_b">{{Cite web|和書|url=http://sourceforge.jp/magazine/14/03/18/170000|title=「Python 3.4」リリース、標準ライブラリを強化|publisher=[[SourceForge.JP]]|author=末岡洋子|date=2014-03-18|accessdate=2014-03-20}}</ref>

* オブジェクト指向ファイルシステムパスを提供する「pathlib」モジュールの提供

* オブジェクト指向ファイルシステムパスを提供する「pathlib」モジュールの提供

* 列挙型を扱うためのenumモジュールの標準化

* 列挙型を扱うためのenumモジュールの標準化

473行目: 486行目:

* Pythonの組み込み関数に関する分析情報を得るため機構の実装

* Pythonの組み込み関数に関する分析情報を得るため機構の実装



;3.5<ref name="Version_3.5_a">{{cite web|url=https://news.mynavi.jp/techplus/article/20150914-a192/|title=Python 3.5.0登場|publisher=[[マイナビニュース]]|author=後藤大地|date=2015-09-13|accessdate=2015-11-05}}</ref><ref name="Version_3.5_b">{{cite web|url=http://www.softantenna.com/wp/software/python-3-5-released/|title=「Python 3.5」正式版がリリース – 新機能が多数追加 |publisher= ソフトアンテナブログ|date=2015-09-14|accessdate=2015-11-05}}</ref>

;3.5<ref name="Version_3.5_a">{{Cite web|和書|url=https://news.mynavi.jp/techplus/article/20150914-a192/|title=Python 3.5.0登場|publisher=[[マイナビニュース]]|author=後藤大地|date=2015-09-13|accessdate=2015-11-05}}</ref><ref name="Version_3.5_b">{{Cite web|和書|url=http://www.softantenna.com/wp/software/python-3-5-released/|title=「Python 3.5」正式版がリリース – 新機能が多数追加 |publisher= ソフトアンテナブログ|date=2015-09-14|accessdate=2015-11-05}}</ref>

* zipアプリケーションサポートの改良

* zipアプリケーションサポートの改良

* byte/bytearrayオブジェクトのための「%」フォーマット対応の追加

* byte/bytearrayオブジェクトのための「%」フォーマット対応の追加

483行目: 496行目:

* 拡張モジュールをロードするための新しい仕組みの導入

* 拡張モジュールをロードするための新しい仕組みの導入



;3.6<ref name="Version_3.6">{{cite web|url=https://mag.osdn.jp/16/12/26/153000|title=「Python 3.6」がリリース|publisher=[[OSDN]]|author=末岡洋子|date=2016-12-26|accessdate=2017-05-26}}</ref>

;3.6<ref name="Version_3.6">{{Cite web|和書|url=https://mag.osdn.jp/16/12/26/153000|title=「Python 3.6」がリリース|publisher=[[OSDN]]|author=末岡洋子|date=2016-12-26|accessdate=2017-05-26}}</ref>

* 文字列中に式を埋め込める「Formatted string literals」の導入

* 文字列中に式を埋め込める「Formatted string literals」の導入

* 変数に対して型に関する情報(型ヒント)を与える「Syntax for variable annotations」の導入

* 変数に対して型に関する情報(型ヒント)を与える「Syntax for variable annotations」の導入

490行目: 503行目:

* DTraceおよびSystemTapプローブのサポートを追加

* DTraceおよびSystemTapプローブのサポートを追加



;3.7<ref name="Version_3.7">{{cite web|url=https://mag.osdn.jp/18/06/29/163000|title=「Python 3.7」リリース、型アノーテーションの強化などさまざまな機能が追加される|publisher=[[OSDN]]|author=末岡洋子|date=2018-06-29|accessdate=2018-07-11}}</ref><ref group="†">[https://docs.python.org/ja/3.7/whatsnew/3.7.html What's New In Python 3.7 — Python 3.7.5 ドキュメント]</ref>

;3.7<ref name="Version_3.7">{{Cite web|和書|url=https://mag.osdn.jp/18/06/29/163000|title=「Python 3.7」リリース、型アノーテーションの強化などさまざまな機能が追加される|publisher=[[OSDN]]|author=末岡洋子|date=2018-06-29|accessdate=2018-07-11}}</ref><ref group="†">[https://docs.python.org/ja/3.7/whatsnew/3.7.html What's New In Python 3.7 — Python 3.7.5 ドキュメント]</ref>

* 使用時点では宣言されていない型を使った型アノテーション表記が可能となる

* 使用時点では宣言されていない型を使った型アノテーション表記が可能となる

* レガシーな C ロケールの抑圧、強制 UTF-8 実行モード

* レガシーな C ロケールの抑圧、強制 UTF-8 実行モード

520行目: 533行目:

** 引数仕様変数

** 引数仕様変数

* zip関数の追加パラメータ

* zip関数の追加パラメータ


;3.11<ref>{{Cite web |title=What's New In Python 3.11 |url=https://docs.python.org/3/whatsnew/3.11.html |website=Python documentation |access-date=2024-04-23 |language=ja}}</ref>


;3.12<ref>{{Cite web |title=What's New In Python 3.12 |url=https://docs.python.org/3/whatsnew/3.12.html |website=Python documentation |access-date=2024-04-23 |language=ja}}</ref>



=== Python の時系列 ===

=== Python の時系列 ===

531行目: 548行目:

* [[Modula-2]], [[Modula-3|-3]](モジュール機能、オブジェクト指向)

* [[Modula-2]], [[Modula-3|-3]](モジュール機能、オブジェクト指向)

* [[Icon]](辞書、スライス演算子など)

* [[Icon]](辞書、スライス演算子など)

* [[SETL]](リストの内包表現)

* {{仮リンク|SETL|en|SETL}}(リストの内包表現)

* [[C言語|C]], [[C++]](基本的な構文)

* [[C言語|C]], [[C++]](基本的な構文)

* [[Smalltalk]](仮想マシン機構、動的性)

* [[Smalltalk]](仮想マシン機構、動的性)

570行目: 587行目:

* [[スクリプト言語]]

* [[スクリプト言語]]

* [[オブジェクト指向プログラミング]]

* [[オブジェクト指向プログラミング]]

* [[空飛ぶモンティ・パイソン]] - これがPythonという言語名の由来である<ref>[https://docs.python.org/3/faq/general.html#why-is-it-called-python Why is it called Python?] - Python Software Foundation</ref>

* [[空飛ぶモンティ・パイソン]] - これがPythonという言語名の由来である<ref>[https://docs.python.org/3/faq/general.html#why-is-it-called-python Why is it called Python?] - Python Software Foundation</ref><ref>{{Cite book|和書 |author= Glyn Moody 小山祐司監訳 |title= ソースコードの反逆 |date=2002-6-11 |page= 384 |publisher=[[アスキー (企業)|株式会社アスキー]]|isbn = }}</ref>



== 学習用図書の例 ==

== 学習用図書の例 ==

* Quentin Charatan, Aaron Kans: ''Programming in Two Semesters: Using Python and Java'', Springer, (2022).

* John Hunt: ''A Beginners Guide to Python 3 Programming'', Springer, (2023).

* John Hunt: ''Advanced Guide to Python 3 Programming'', Springer, (2023).

* 石本敦夫:「Python文法詳解」、オライリージャパン、ISBN 978-4873116884、(2014年9月18日)。

* 大和田勇人、金盛克俊:「Pythonで始めるプログラミング入門」、コロナ社、ISBN 978-4-339-02498-2(2015年10月13日)。

* 大和田勇人、金盛克俊:「Pythonで始めるプログラミング入門」、コロナ社、ISBN 978-4-339-02498-2(2015年10月13日)。

* 滝澤成人:「Python [基礎編] ワークブック」、カットシステム、ISBN 978-4-87783-837-9(2018年5月10日)。

* 滝澤成人:「Python [基礎編] ワークブック」、カットシステム、ISBN 978-4-87783-837-9(2018年5月10日)。

* 松浦健一郎、司ゆき:「わかるPython [決定版] 」、SBクリエイティブ、ISBN 978-4-7973-9544-0(2018年5月22日)。

* 松浦健一郎、司ゆき:「わかるPython [決定版] 」、SBクリエイティブ、ISBN 978-4-7973-9544-0(2018年5月22日)。

* 柴田望洋:「新・明解Python入門」、SBクリエイティブ 、ISBN 978-4815601522(2019年5月30日)。

* 柴田望洋:「新・明解Python入門」、SBクリエイティブ 、ISBN 978-4815601522(2019年5月30日)。#(これは初版、第2版あり)

* 亀田健司:「1週間でPythonの基礎が学べる本」、インプレス、ISBN 978-4-295-00853-8(2020年3月11日)。

* 亀田健司:「1週間でPythonの基礎が学べる本」、インプレス、ISBN 978-4-295-00853-8(2020年3月11日)。

* 山田祥寛:「独習Python」、翔泳社、{{ISBN2|978-4-7981-6364-2}}(2020年6月22日)。

* 山田祥寛:「独習Python」、翔泳社、{{ISBN2|978-4-7981-6364-2}}(2020年6月22日)。

593行目: 614行目:

* 柴田望洋:「新・明解Python入門 第2版」、SBクリエイティブ 、ISBN 978-4815617837(2023年8月29日)。

* 柴田望洋:「新・明解Python入門 第2版」、SBクリエイティブ 、ISBN 978-4815617837(2023年8月29日)。

* David M. Beazley、鈴木駿(訳):「Python Distilled - プログラミング言語Pythonのエッセンス」、オライリー・ジャパン、ISBN 978-4-8144-0046-1(2023年10月14日)。

* David M. Beazley、鈴木駿(訳):「Python Distilled - プログラミング言語Pythonのエッセンス」、オライリー・ジャパン、ISBN 978-4-8144-0046-1(2023年10月14日)。

* Christian Hill:「Python科学技術計算:物理・化学を中心に」第2版,東京化学同人、ISBN 978-4-807920570 (2023年11月20日)。※ 利用例

* 金城俊哉:「PC・IT図解 Pythonプログラミングの技術としくみ」、秀和システム、ISBN 978-4798066868(2024年3月1日)。

* 綾皓二郎:「計算論的思考を育むPythonプログラミング入門」、近代科学社、ISBN 978-4764906969(2024年5月28日)。

* Tiago Rodrigues Antão:「爆速Python」、翔泳社、ISBN 9784798183732 (2024年6月24日)。※ 高速化技法

* Alex Martelli、Anna Martelli Ravenscroft、Steve Holden、Paul McGuire:「Pythonクイックリファレンス(第4版)」、オライリージャパン、ISBN978-4-8144-0081-2(2024年6月27日)。



==脚注==

==脚注==

609行目: 635行目:

* [https://python.atelierkobato.com/basic/ あとりえこばと:「Python プログラミング講座」(2018年8月13日).]

* [https://python.atelierkobato.com/basic/ あとりえこばと:「Python プログラミング講座」(2018年8月13日).]

* {{Cite journal|和書|author=喜多一 |date=2020-02 |url=https://hdl.handle.net/2433/245698 |title=プログラミング演習 Python 2019 |pages=1-200 |hdl=2433/245698 |CRID=1510292572199325696 |quote=''本書はCC-BY-NC-NDライセンスによって許諾されています。ライセンスの内容を知りたい方は https://creativecommons.org/licenses/by-nc-nd/4.0/deed.ja でご確認ください。''}}

* {{Cite journal|和書|author=喜多一 |date=2020-02 |url=https://hdl.handle.net/2433/245698 |title=プログラミング演習 Python 2019 |pages=1-200 |hdl=2433/245698 |CRID=1510292572199325696 |quote=''本書はCC-BY-NC-NDライセンスによって許諾されています。ライセンスの内容を知りたい方は https://creativecommons.org/licenses/by-nc-nd/4.0/deed.ja でご確認ください。''}}

** [http://hdl.handle.net/2433/285599 喜多 一、森村吉貴、岡本雅子:「教科書:プログラミング演習 Python」 (2023年版、京都大学学術情報リポジトリ、CC-BY-NC-ND ライセンス)]

** [http://hdl.handle.net/2433/285600 上記の英語版]

* [https://utokyo-ipp.github.io Pythonプログラミング入門] - 東京大学

* [https://utokyo-ipp.github.io Pythonプログラミング入門] - 東京大学

* [https://www.python.jp/train/ ゼロからのPython入門講座] - Python Japan

* [https://www.python.jp/train/ ゼロからのPython入門講座] - Python Japan

617行目: 645行目:

**[https://sites.google.com/a.ipsj.or.jp/mooc/list/C3-2 アルゴリズム (Pythonを使ったアルゴリズム入門)]

**[https://sites.google.com/a.ipsj.or.jp/mooc/list/C3-2 アルゴリズム (Pythonを使ったアルゴリズム入門)]

**[https://sites.google.com/a.ipsj.or.jp/mooc/list/C3-3 モデル化とシミュレーション(Pythonを使ったシミュレーション入門)]

**[https://sites.google.com/a.ipsj.or.jp/mooc/list/C3-3 モデル化とシミュレーション(Pythonを使ったシミュレーション入門)]

* [https://www.tohoho-web.com/python/index.html 「とほほのPython入門」((C) 2014-2022 杜甫々, 最終更新2022年10月9日)]

* [https://utokyo-ipp.github.io/IPP_textbook.pdf 「Pythonプログラミング入門」©2020–2023, 東京大学 数理・情報教育研究センター (CC BY-NC-ND 4.0)]

* {{kotobank}}

* {{kotobank}}




2024年6月20日 (木) 10:54時点における最新版

Python
Python
Pythonのロゴ
パラダイム 関数型プログラミングオブジェクト指向プログラミング動的計画法命令型プログラミング、マルチパラダイムプログラミング ウィキデータを編集
登場時期 1991年 (1991)
開発者 Pythonソフトウェア財団グイド・ヴァンロッサム ウィキデータを編集
最新リリース 3.12.2 - 2024年2月7日 (4か月前) (2024-02-07)[1] [±]
型付け 強い型付け 動的型付け
主な処理系 CPython, PyPy, IronPython, Jython
方言 Cython, RPython, Stackless Python
影響を受けた言語 ALGOL 68、ABCModula-3C言語C++PerlJavaLISPHaskellAPLCLUDylanIconStandard ML ウィキデータを編集
影響を与えた言語 Boo
Cobra
D
F#
Falcon
Go
Groovy
JavaScript[2]
Ruby[3]
Perl
Scala
Swift
プラットフォーム クロスプラットフォーム ウィキデータを編集
ライセンス Python Software Foundation License ウィキデータを編集
ウェブサイト www.python.org ウィキデータを編集
テンプレートを表示

Python

[]


Python1991

Python()使

PythonPython[ 1]

PythonOS [ 2] CPython PythonPythonCPython

[]


Python:








[]


PythonPython[ 3]

[]


Python使[ 4]

Python[ 3]: Perl[4]

Python

[]




 (: factorial)C

Python:
def factorial(x):
    if x == 0:
        return 1
    else:
        return x * factorial(x - 1)

わかりやすく整形されたC言語のコード:

int factorial(int x) {
    if (x == 0) {
        return 1;
    } else {
        return x * factorial(x - 1);
    }
}

PythonCCC

C:
int factorial(int x) {
 if(x == 0) {return 1;} else
 {return x * factorial(x - 1); } }

Pythonではインデントは構文規則として決められているため、こうした書き方は不可能である。Pythonではこのように強制することによって、ソースコードのスタイルがその書き手にかかわらずほぼ統一したものになり、その結果読みやすくなるという考え方が取り入れられている。これについては賛否両論があり、批判的立場の人々からは、これはプログラマがスタイルを選ぶ自由を制限するものだ、という意見も出されている。

インデントによる整形は、単に「見かけ」だけではなく品質そのものにも関係する[5]。例として次のコードを示す。

間違えたC:

if (x > 10)
    x = 10;
    y = 0;

Cifif("y = 0;"if"{}""y = 0;"if)Apple goto fail



Python[5]

[]


Python





2Python使使2

Python

Python

[]


Python[6]


def greeting(name: str) -> str:
    return f"Hello {name}"

メモリ管理[編集]


PythonCPythonCPythonJythonIronPythonJythonIronPython

[]


Python使使Python

[]


Python PythonJava

 (inheritance) override; 

publicvirtualprivate2mangle; arithmetic operator使

[]


Python ("Battery Included")使



OS

XML



HTTP, FTP

CSV

 (SQLite)

GUI (Tkinter)

HTML

Python

: Python#

[]


Pythonbuilt-in types
Mapping[]

Mapping[7] dict  collections.abc.Mapping  __getitem__, __iter__, __len__ __getitem__ collection

[]


Python1() Python 2.0Unicode[ 5]

Python 3.0Python 2.xUnicodePython 3.0

PythonUnicodeUnicode

Python (EUC-JP, Shift_JIS, MS932, ISO-2022-JP) Python 2.4[ 6]GUITkinterIDLE

ASCIIPython使Python 3.xUTF-8[ 7]Python 3[ 8][ 9]Python 2.xASCII使12[ 10]EmacsVim Emacs 
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
s = '日本語の文字列'

実行環境[編集]


Python

[]


PythonAmoeba

Windows, Windows CE9xNTWindows 3.1MS-DOS

Macintosh (Classic Mac OSmacOS)

iOS Pythonista for iOS (omz:software)

Android Pydroid3 for Android (IIEC)

UNIX

Linux (Linux Standard Base3.2)

Plan 9 (Python 3.x)

PalmOS

S60

Java (Jython)

.NET Framework (IronPython)

[]


Python

CPython - CPythonCPython

Stackless Python - C使Python

Unladen Swallow - GooglePython

Jython - JavaPythonJava使

IronPython - .NET Framework/MonoPythonC#.NET Framework使.NET

PyPy - Python (RPython) Python

Psyco - CPythonJIT

Cython - PythonC

PyMite - AVR

tinypy - 64kB

MicroPython - 256 kB

Pyodide - WebAssembly[ 1]

IPython - Python

Codon - Python[8][9][10]

PyOMP - PythonOpenMP[11][12]

[]


Python

[]

/wheel/

PythonpippipenvpoetryryeEasyInstallwheel[ 11]

Python Package Index (PyPI) 

Anaconda (Python)

[]


Python

利用[編集]


Python使使AppleGoogle, Yahoo!, YouTube [ 12]S60Python[13]NASA[ 12][14]Python使

WebGUICAD3D

[]


NumPy, SciPyNumPy, SciPyC[15]Numba 使Python  LLVM  JITTensorFlow  GPU 

JetBrains Python調201710Python27%18%9%[16]

Web[]


Django  Flask WebWeb使JetBrains Python調20171026%Web[16]

[]


kivyandroidiOS

tkinterpythonGUI

PyQt

xPythonGUI

[]


PerlOS Python 

JetBrains Python調2017109%DevOps, , [16]

[]


Python[17]PythonABC[18]

Python--  Guido van Rossum 

 (IPA) 2020 COBOL  Python [19]

Python使[20]

PythonCPython

Python1[21]
# Pythonで記述した「Hello,World!」の例
# Pythonはたった一行のコードで文字を表示することができる。
print("Hello, World!")
// Javaで記述した「Hello, World!」の例
// Javaでは文字の表示に最低5行(括弧を除くと3行)コードを記述する必要がある(もちろん改行をせずに横に連ねて書けば1行にもできるのだが)。
public class hoge {
    public static void main(String...args) {
        System.out.println("Hello, World!");
    }
}

Python [21]

[21]

[]


Python使()使使[22]

Python使調使Wins Over ReplaceWAR使[23][24]

Python使使使使NBANHL使[?][23][24]

Python使調[23][24]Python調Python使調[25]

Python Scikit-learnsklearn使SVMNHLMLB調Apple WatchIMU使LPMLPM使EPL3NHLNBAMLBEPL使NHLNBAMLB[26]

[]


Amoeba使ABC[27]

0.9x[]


1991Python 0.90Modula-3

1.x[]


19941Python 1.0mapreduce

1.4Common Lisp

2.x[]


2000UnicodeHaskell

2.4subprocess[28]

2.62.x3.x2to3 lib2to3 [ 13]2.72.x2.7202011[ 14] 2.7.18 20204 2.7.x [29][30][ 15]
バージョン リリース日[31] サポート期限[32]
2.0 2000年10月16日
2.1 2001年4月15日
2.2 2001年12月21日
2.3 2003年7月29日
2.4 2004年11月30日
2.5 2006年9月19日
2.6 2008年10月1日 2013年10月29日
2.7 2010年7月4日 2020年1月1日

3.x[編集]


2008Python 3.0 西3000PythonPython 3000Py3K

2.x2.x3.xDjango3.x20163.x[33][]JetBrains Python調Python 23Python 3 2016140%20171075%[16][34]

201511Fedora 23[35]20164Ubuntu 16.04 LTS[36]Python2.x3.xRed Hat Enterprise Linux7.5Python 2deprecated[37]
バージョン リリース日[31] サポート期限[32]
3.0 2008年12月3日 2009年1月13日
3.1 2009年6月27日 2012年4月9日
3.2 2011年2月20日 2016年2月20日
3.3 2012年9月29日 2017年9月29日
3.4 2014年3月16日 2019年3月18日
3.5 2015年9月13日 2020年9月30日
3.6 2016年12月23日 2021年12月
3.7 2018年6月27日 2023年6月
3.8 2019年10月14日 2024年10月
3.9 2020年10月5日 2025年10月
3.10 2021年10月4日 2026年10月
3.11 2022年10月24日 2027年10月
3.12 2023年10月2日 2028年10月

3.0[38]

printprint

Unicode

int

3.1[39][40]



unittest

TkinterTile

importPythonimportlib

with

3.2[41]

 stable ABI

pyc 

E-mail  SSL 

pdb (Python debugger) 

3.3

3.12[42]

yield from

uUUnicode

UCS-4

Pythonvirtualenvvenv

3.4[43][44]

pathlib

enum

statistics

Pythontracemalloc

I/Oasyncio

Python

3.5[45][46]

zip

byte/bytearray%

@

os.scandir()





.pyo



3.6[47]

Formatted string literals

Syntax for variable annotations

asyncawait (async/await)Asynchronous generators

secrets

DTraceSystemTap

3.7[48][ 16]

使使

C UTF-8 

breakpoint() 

dict 

 (10-9s) 





3.8[ 17]

 :=



f f'{expr=}' 

pickle 5

dict  reversed 

3.9[49]



removeprefix(),removesuffix()

Generic

zoneinfo

3.10[50]






 X | Y 

: TypeAlias 



zip

3.11[51]

3.12[52]

Python []


1990 - Stichting Mathematisch Centrum (CWI)Python

1995 - Corporation for National Research Initiatives (CNRI) Python

20003 - Python BeOpen.com BeOpen PythonLabs 10PythonLabsDigital Creations (Zope Corporation) 

2001 - PythonPython (PSF) Zope CorporationPSF

Python[]


ABC

Modula-2, -3

Icon

SETL

C, C++

Smalltalk

Lisp, Scheme

[]


Python PSF (Python Software Foundation) GPLGPL

注釈[編集]

出典[編集]



(一)^ Python Release Python 3.12.2.  Python.org (202427). 2024211

(二)^ Chapter 3. The Nature of JavaScript - Speaking JavaScript2019419

(三)^ Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: bringing Ruby on Rails to the Java platform. Berkeley: APress. p. 3. ISBN 978-1-59059-881-8 

(四)^ TIMTOWTDIthere's more than one way to do it

(五)^ abDesign and History FAQ  Python 3.9.6 documentation. docs.python.org. 2021826

(六)^ typing ---   Python 3.10.0b2 

(七)^ "A mapping object maps hashable values to arbitrary objects." The Python Standard Library - Python ver3.11.2. 2023-03-01.

(八)^ exaloop/Codon

(九)^ "Python-based compiler achieves orders-of-magnitude speedups", MIT News, (March 14, 2023).

(十)^ "MIT Turbocharges Pythons Notoriously Slow Compiler > Codon lets users run Python code as efficiently as C or C++", IEEE Spectrum (2023330)

(11)^ T. G. Mattson, T. A. Anderson and G. Georgakoudis, "PyOMP: Multithreaded Parallel Programming in Python," in Computing in Science & Engineering, vol. 23, no. 6, pp. 77-80, 1 Nov.-Dec. 2021, doi: 10.1109/MCSE.2021.3128806.

(12)^ PyOMP: Parallel multithreading that is fast AND Pythonic. Presented by Tim Mattson (Intel)

(13)^ Python for S60. 2007117

(14)^ KEKB: An Asymmetric Electron-Positron Collider for B-Factory in KEK. 2007117

(15)^ Python for Scientists and Engineers. 201589

(16)^ abcdPython Developers Survey 2017 - Results

(17)^ TSpython 

(18)^ EDU-SIG: Python in Education. 2011516

(19)^  IPA  

(20)^  3 (20195)

(21)^ abcPython. www.hallo.jp. 202362

(22)^ Foundations of Sports Analytics: Data, Representation, and Models in Sports. Coursera. 202222

(23)^ abcMoneyball and Beyond. Coursera. 202222

(24)^ abcPrediction Models with Sports Data. Coursera. 202222

(25)^ Wearable Technologies and Sports Analytics. Coursera. 202222

(26)^ Introduction to Machine Learning in Sports Analytics. Coursera. 202222

(27)^ Why was Python created in the first place?. General Python FAQ.  Python Software Foundation. 2007322

(28)^ https://www.fenet.jp/dotnet/column/language/7841/ Pythonsubprocess使.NET Column (2021325) 2023517

(29)^ "Python 2.7.18Python 2.7Python 2 "

(30)^ Peterson, Benjamin (2020420). Python Insider: Python 2.7.18, the last release of Python 2. Python Insider. 2020427

(31)^ abPython Documentation by Version.  Python Software Foundation. 2014320

(32)^ ab17. Development Cycle  Python Developer's Guide

(33)^ . Python23.   . 2016921

(34)^ By the numbers: Python community trends in 2017/2018 | Opensource.com

(35)^ Changes/Python 3 as Default.  Fedora Project. 2016921

(36)^ kuromabo. Ja.  Ubuntu.com. 2016921

(37)^ Red Hat Enterprise Linux 7 Chapter 53. Deprecated Functionality - Red Hat Customer Portal

(38)^ ! Python 3.0 - 2.   (200911). 2014313

(39)^ Python 3.1.  OSDN Corporation (200971). 2014313

(40)^ Python 3.1.  OSDN Corporation (2009630). 2014313

(41)^ Python 3.2.  OSDN Corporation (2011222). 2014313

(42)^  (2012101). Python 3.3.  SourceForge.JP. 2014313

(43)^  (2014318). Python 3.4.  . 2014320

(44)^  (2014318). Python 3.4.  SourceForge.JP. 2014320

(45)^  (2015913). Python 3.5.0.  . 2015115

(46)^ Python 3.5  .   (2015914). 2015115

(47)^  (20161226). Python 3.6.  OSDN. 2017526

(48)^  (2018629). Python 3.7.  OSDN. 2018711

(49)^ What's New In Python 3.9  Python 3.9.12 

(50)^ What's New In Python 3.10  Python 3.10.4 

(51)^ What's New In Python 3.11. Python documentation. 2024423

(52)^ What's New In Python 3.12. Python documentation. 2024423

一次文献[編集]



(一)^ Welcome to Python.org (). Python.org. 2020810

(二)^ History and License. 2016125 "All Python releases are Open Source"

(三)^ abPeters, Tim (2004819). PEP 20  The Zen of Python. Python Enhancement Proposals.  Python Software Foundation. 20081124

(四)^ About Python.  Python Software Foundation. 2012424, second section "Fans of Python use the phrase "batteries included" to describe the standard library, which covers everything from asynchronous processing to zip files."

(五)^ Lemburg, Marc-André (2000310). PEP 100 -- Python Unicode Integration. Python Enhancement Proposals.  Python Software Foundation. 2014212

(六)^ Whats New in Python 2.4

(七)^ PEP 3120 -- Using UTF-8 as the default source encoding | Python.org

(八)^ PEP 538 -- Coercing the legacy C locale to a UTF-8 based locale | Python.org

(九)^ PEP 540 -- Add a new UTF-8 Mode | Python.org

(十)^ PEP 0263 -- Defining Python Source Code Encodings. Python Enhancement Proposals.  Python Software Foundation (200166). 2014212

(11)^ "Wheel attempts to remedy these problems by providing a simpler interface between the build system and the installer." PEP 427 -- The Wheel Binary Package Format 1.0

(12)^ abQuotes about Python. 2007115

(13)^ Python 2  Python 3 .  Python Software Foundation. 2014313

(14)^ PEP 373 -- Python 2.7 Release Schedule | Python.org

(15)^ Sunsetting Python 2 (). Python.org. 2019922

(16)^ What's New In Python 3.7  Python 3.7.5 

(17)^ What's New In Python 3.8  Python 3.8.0 

関連項目[編集]


IPython - Python

MyHDL - Python

Julia () - PythonCFortranPython





 - Python[1][2]

[]


Quentin Charatan, Aaron Kans: Programming in Two Semesters: Using Python and Java, Springer, (2022).

John Hunt: A Beginners Guide to Python 3 Programming, Springer, (2023).

John Hunt: Advanced Guide to Python 3 Programming, Springer, (2023).

PythonISBN 978-48731168842014918

PythonISBN 978-4-339-02498-220151013

Python [] ISBN 978-4-87783-837-92018510

Python [] SBISBN 978-4-7973-9544-02018522

PythonSB ISBN 978-481560152220195302

1PythonISBN 978-4-295-00853-82020311

PythonISBN 978-4-7981-6364-22020622

Guido van RossumPython 4ISBN 978-4-87311-935-92021127

Bill Lubanovic Python 3 2ISBN 978-4-87311-932-82021322

Python [] SBISBN 978-4-8156-0764-72021122

PythonISBN 978-4-7649-0633-42021731

Python 2ISBN 978-4-7981-6936-120211117

:Python ABC!ISBN 978-47649064262022916

 Python  Lv.1ISBN 978-4-407-35255-920221026

Python ISBN 978-4-407-35591-820221125

Patrick ViaforePython ISBN 978-4-8144-0017-1 (2023325)

Micha GorelickIan OzsvaldPython 2ISBN 978-4873119908 (2023414)

Michal Jaworski and Tarek ZiadePython 4KADOKAWAISBN 978-4-048931113 (2023721)

Wes McKinneyPython 3ISBN 978-4814400195 (2023812)

Python 2SB ISBN 978-48156178372023829

David M. Beazley駿Python Distilled - PythonISBN 978-4-8144-0046-120231014

Christian Hill:Python2ISBN 978-4-807920570 (20231120) 

PCIT PythonISBN 978-4798066868202431

PythonISBN 978-47649069692024528

Tiago Rodrigues AntãoPythonISBN 9784798183732 (2024624) 

Alex MartelliAnna Martelli RavenscroftSteve HoldenPaul McGuirePython4ISBN978-4-8144-0081-22024627

[]

  1. ^ Why is it called Python? - Python Software Foundation
  2. ^ Glyn Moody 小山祐司監訳『ソースコードの反逆』株式会社アスキー、2002年6月11日、384頁。 

外部リンク[編集]


Welcome to Python.org - Python 

Python 

Python Japan - 

Python awesome

Allen B. Downey():Think Python: "Think Python: How to Think Like a Computer Scientist", Creative CommonPDF

How to Think Like a Computer Scientist: Interactive Edition

Wes, Mckinney: "Python for Data Analysis, 3E" (Open Edition, HTML).

Python (2018813).

 Python 201920202CRID 1510292572199325696hdl:2433/245698CC-BY-NC-ND https://creativecommons.org/licenses/by-nc-nd/4.0/deed.ja  
  Python (2023CC-BY-NC-ND )



Python - 

Python - Python Japan

1.  Python 

Python  2020421

 IPSJ MOOC # 
 Python

 Python使

Python使

Python((C) 2014-2022 , 2022109)

Python©20202023,   (CC BY-NC-ND 4.0)

Python -