100 days proficient in python (basic version) -- the first day: python and vscode environment installation

friendly classmates 2022-08-06 06:33:18 阅读数:178


Study Diary

Python installation

Official website download address: http://www.python.org/download/

1) There are default installation and custom installation, select custom installation; Note: Both must select the environment configuration below
hereInsert image description in

2) Some plugins and tools are checked

3) Modify the installation path

4) The installation is complete, click to close

5) After the installation is complete, open the command prompt window (win+R, enter cmd and press Enter, type python and press Enter, and the version number is displayed to indicate that the installation is successful)
insert image description here

VS Code installation

Official website download address: https://code.visualstudio.com/

insert image description here

1) Modify the installation path
Insert image hereSlice description
2) Check the desktop to create a shortcut

3) Installation completed

4) Set the Chinese version, enter configure language, press Enter

5) Install python environment
insert image description here
ClickIn the lower left corner, it is automatically selected by default; for manual selection, use ctrl + shift + p to open the command palette and enter python: Select Interpreter, select the python.exe program under the python installation path

5) Create .py file

Console output

版权声明:本文为[friendly classmates]所创,转载请带上原文链接,感谢。 https://pythonmana.com/2022/218/202208060519187061.html