In this article, I will explain how to build a Python development environment using VS Code. The procedure is as follows.
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
Open VS Code
Create a new file with ctrl + N
Create a py file by selecting python with ctrl + K
-> M
Save the file with ctrl + S
Write the code as in the example below
Select Menu
-> Run
-> Run without debugging
to run
If Hello World
is printed on the screen, python execution is successful!
Create a new file as above and select Jupyter with ctrl + K
-> M
and save the file
Write the code as in the example below and press the green run button
If Hello World
is printed on the screen, python execution is successful!
Recommended Posts