Installation of Visual studio code and installation of python

As a memorandum, I will write the flow for the purpose of creating a slackbot using python on windows. First, install Visual studio code and install python.

Go to vscode official and install. visualcode画面.png Basically installed by default. I changed the setting to put the icon on the desktop.

When you start vscode immediately, it will be translated into Japanese because it is in English. 日本語化.png Click the part surrounded by red in the lower left to open the search window of Marketplace. Search for Japanese, install the Japanese Language Pack for Visual Studio Code and restart to complete Japanese localization.

日本語画面.png Japaneseized screen.

Next, install python. Officially fly and install python. Since there were some parts that did not support 3.8 yet, I will set it to 3.7.5. pythonインストール.png

Windows 64bit version download Windows x86-64 web-based installer, 32bit version download Windows x64 web-based installer. python375.png

Check PATH to set environment variables and install. python install.png

Check if it is installed when finished. Open a command prompt and execute a python command.

C:\Users\tokoroten>python
Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

I was able to confirm that version 3.7.5 was installed.

Next, prepare to run python in vsCode. Just like when Japaneseizing, open Marketplace and enter python to install. python.png

Now that python is ready with vsCode, I will try it immediately. Create a workspace folder directly under the C drive and create a python file that displays "hello world" appropriately. (This time I made hello.py in python_study / hello) From the terminal at the bottom of vsCode

python Hello.py

Enter and execute. hello world.png Since Hello world was displayed safely, I was able to confirm that python was running.

The next article will be set on the slack side.

Recommended Posts

Installation of Visual studio code and installation of python
Source installation and installation of Python
Installation of SciPy and matplotlib (Python)
Install python and Visual Studio Code on windows10 (April 2020 version)
Python Tools for Visual Studio Installation Guide
Installation of Python 3.3 rc1
Installation of matplotlib (Python 3.3.2)
Build Python development environment with Visual Studio Code
Installation of Python3 and Flask [Environment construction summary]
Links and memos of Python character code strings
List of Python code to move and remember
Settings for Python coding in Visual Studio Code
[Visual Studio Code] [Python] Tasks.json + problemMatcher settings for Python
From re-environment construction of Python to graph drawing (on visual studio code)
Python installation and basic grammar
2.x, 3.x character code of python
Make Visual Studio Code autocomplete for python external libraries
Python development environment with Windows + Anaconda3 + Visual Studio Code
Python development in Visual Studio 2017
Python development environment with Windows + Python + PipEnv + Visual Studio Code
Python development in Visual Studio
[Python] Chapter 01-02 About Python (Execution and installation of development environment)
Python (Python 3.7.7) installation and basic grammar
Set up a Python development environment with Visual Studio Code
Enable the virtualenv Python virtual environment for Visual Studio Code
Do something like a Python interpreter in Visual Studio Code
The process of making Python code object-oriented and improving it
Environment construction of python and opencv
The story of Python and the story of NaN
Java with Visual Studio Code (Part 2)
Visual Studio Code may be good
[Code] Module and Python version output
This and that of python properties
Installation of Python, SciPy, matplotlib (Windows)
Installation and easy usage of pytest
Coexistence of Python2 and 3 with CircleCI (1.0)
Summary of Python indexes and slices
Reputation of Python books and reference books
Python installation
Try to create a python environment with Visual Studio Code & WSL
Bash, Python, Javascript, code command, etc. in Visual Studio Code on Mac
About the procedure for linking Visual Studio Code for Windows and WSL
Python installation
Try it when Visual Studio Code can't load a Python module
python> link> strftime () and strptime () behavior / code
Python installation and package management with pip
Extraction of tweet.js (json.loads and eval) (Python)
Connect a lot of Python or and and
[Python3] Rewrite the code object of the function
[Python] Get the character code of the file
Easy introduction of python3 series and OpenCV3
[Python] Various combinations of strings and values
Idempotent automation of Python and PyPI setup
Full understanding of Python threading and multiprocessing
Run Python in C ++ on Visual Studio 2017
Project Euler # 1 "Multiples of 3 and 5" in Python
Use Jupyter Notebook with Visual Studio Code on Windows 10 + Python + Poetry + pyenv-win
Create a Python development environment on Windows (Visual Studio Code remote WSL).
[Python] Summary of conversion between character strings and numerical values (ascii code)
Python code to train and test with Custom Vision of Cognitive Service
Example of python code for exponential distribution and maximum likelihood estimation (MLE)