First click the button of the square on the left, as shown below:
Then enter python and select the first one to proceed Installation
Next click New File under File, as shown below:
Then select the language version as python, as shown in the figure below:
Then enter the python language, as shown in the figure below:
Finally, right-click the file , select run code to run.
Related recommendations: vscode tutorial
The above is the detailed content of How to create and run python program with vscode. For more information, please follow other related articles on the PHP Chinese website!