Home > Development Tools > VSCode > How to run python program in vscode

How to run python program in vscode

王林
Release: 2020-04-05 13:11:14
Original
4725 people have browsed it

How to run python program in vscode

1、安装Python插件

How to run python program in vscode

2、在要运行的Python工作空间里,修改tasks.json

用以下内容覆盖

{
	"version": "0.1.0", 
	"command": "C:\\Python35\\python.exe", 
	"isShellCommand":"true",
	"shadowOutput":"always",
	"args": ["${file}"]
}
Copy after login

3、然后Ctrl+Shift+b运行即可

相关教程推荐:vscode教程

The above is the detailed content of How to run python program in vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template