Build Python development environment with Visual Studio Code

Build Python development environment with Visual Studio Code

In this article, I will explain how to build a Python development environment using VS Code. The procedure is as follows.

1, Anaconda installation

Actually, there are many tools in Anaconda that can code python, This time, I will explain how to develop python with Visual Studio Code based on Anaconda.

--Refer to the following article about Anaconda and how to install it.

-Can be developed more efficiently! How to build a Python environment with Anaconda

2, python development with Visual Studio Code

2.1, normal python development method

Open VS Code image.png

Create a new file with ctrl + N image.png Create a py file by selecting python with ctrl + K-> M image.png

Save the file with ctrl + S image.png Write the code as in the example below Select Menu-> Run-> Run without debugging to run image.png If Hello World is printed on the screen, python execution is successful!

2.2, Jupyter + python development method

Create a new file as above and select Jupyter with ctrl + K-> M and save the file image.png Write the code as in the example below and press the green run button image.png If Hello World is printed on the screen, python execution is successful!

Recommended Posts

Build Python development environment with Visual Studio Code
Python development environment with Windows + Anaconda3 + Visual Studio Code
Python development environment with Windows + Python + PipEnv + Visual Studio Code
Set up a Python development environment with Visual Studio Code
Try to create a python environment with Visual Studio Code & WSL
Build jupyter notebook environment with Visual Studio Code (VS Code) Mac version
[Python] Build a Django development environment with Docker
Build a python execution environment with VS Code
Build python3 environment with ubuntu 16.04
Build python environment with direnv
[ev3dev × Python] Build ev3dev development environment
Python development in Visual Studio 2017
Python development in Visual Studio
Create a Python development environment on Windows (Visual Studio Code remote WSL).
Build a machine learning application development environment with Python
Create a Python development environment in 10 minutes (Mac OS X + Visual Studio Code)
Java with Visual Studio Code (Part 2)
Build python virtual environment with virtualenv
Build Mysql + Python environment with docker
Prepare Python development environment with Atom
Build an environment to execute C ++ functions from Python with Pybind11 (for Windows & Visual Studio Code people)
Prepare Python development environment with Mac + Windows + VisualStudio Code (Windows version)
Prepare Python development environment with Mac + Windows + VisualStudio Code (Mac version)
How to build a python2.7 series development environment with Vagrant
Build Python3 for Windows 10 on ARM with Visual Studio 2019 (x86) on Windows 10 on ARM
UpNext2 Development Record # 1 Build Python CI environment in VS Code
Build a Python environment with WSL + Pyenv + Jupyter + VS Code
Installation of Visual studio code and installation of python
Easily build a development environment with Laragon
Build Jupyter Lab (Python) environment with Docker
[Development environment] Python with Xcode [With screen transition]
Build Python environment with Anaconda on Mac
Build a python virtual environment with pyenv
Build Python development environment (pythonz, virtualenv, direnv)
Build a modern Python environment with Neovim
Build AI / machine learning environment with Python
Create a simple Python development environment with VS Code and Docker
How to build Python and Jupyter execution environment with VS Code
Execute C ++ functions from Python with Pybind11 (for Windows & Visual Studio Code people) Environment construction
Build a C language development environment with a container
Build Django + NGINX + PostgreSQL development environment with Docker
Build python environment with pyenv on EC2 (ubuntu)
Use Jupyter Notebook with Visual Studio Code on Windows 10 + Python + Poetry + pyenv-win
Go (Echo) Go Modules × Build development environment with Docker
Build a python environment with ansible on centos6
Python (Windows 10) Virtual Environment / Package with VS Code
Python development environment construction
Create a python3 build environment with Sublime Text3
Django with Python Tools 2.2 for Visual Studio (PTVS 2.2)
Build a Python development environment on your Mac
About Python development environment
Build a Django development environment with Doker Toolbox
Python environment with docker-compose
python2.7 development environment construction
Use Python in Anaconda environment with VS Code
Build a Python environment with OSX El capitan
Development environment in Python
Quickly build a Python Django environment with IntelliJ
Settings for Python coding in Visual Studio Code
I tried to build a Mac Python development environment with pythonz + direnv
Build PyPy and Python execution environment with Docker