Python

パッケージのダウンロード

https://www.python.jp/install/windows/install_py3.html

Windows版のインストーラーが存在する。

デフォルトでは

"C:\Users\Administrator\AppData\Local\Programs\Python\Python37\python.exe"

にインストールされる。

変な場所!!

echo %PATH% とすると

C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Scripts\;

C:\Users\Administrator\AppData\Local\Programs\Python\Python37\;

にPATHが通っている。

Python の実行方法

https://www.python.jp/install/windows/py_launcher.html

ドキュメント

https://docs.python.org/ja/3/index.html

>>> print("Hello")

Hello

>>> print(1+1)

2

>>> if a:

... print("hello")

...

hello

開発環境

Python Tools for Visual Studioのセットアップ (1/2)

http://www.atmarkit.co.jp/ait/articles/1609/09/news047.html

pip 使い方

c:\Python37\Scripts>pip install numpy