1
2

More than 1 year has passed since last update.

Python初学者のまとめ:環境構築編

Last updated at Posted at 2021-10-27

本体のインストール

■Windows10

  1. 公式サイトよりダウンロード
    スクリーンショット 2021-10-27 192111.png

  2. Add Python 3.x to PATHにチェックを入れてInstall Now押す

スクリーンショット 2021-10-27 192915.png
3. 確認

デフォルトではC:\Users\{ユーザ名}\AppData\Local\Programs\Pythonにインストールされる

C:\Users\r>python --version
Python 3.10.0

Jupyter Notebookインストール

pip install --upgrade pip

pip install notebook

C:\Users\{ユーザ名}\AppData\Local\Programs\Python\Python310\Scripts配下にインストールされる
image.png

Visual Studio Code拡張機能インストール

image.png

実行

実行ファイル

hello.py
print ("Hello, Python")

実行結果

D:\prj_python>python hello.py
Hello, Python
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2