table of Contents
Install python
Python installation tutorial can be seen in the rookie tutorial: python installation tutorial (all rookie tutorial)
VS Code download
Download address: VS Code official website download address
VS Code interface Chinese:
- Download and install the Chinese package
- ctrl+shift+p
- Enter configure display language in the search box, select zh-cn
Environment setup
After downloading and installing python and VS Code, download the corresponding python extension in VS Code and install it:
Create a new python file and save it in the project folder created by yourself. For example, create a HelloPython.py file and save it in the py folder. VS Code opens the folder.
In the status bar at the bottom left, you can choose to use different versions of the installed python interpreter to
create the launch.json file:
Debug: