当前第2页 返回上一页
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "echo",
"type": "shell",
"command": "d:\\ProgramData\\Anaconda3\\python.exe",
"args": [
"1.py"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
|
因为脚本之家小编么有将python添加到环境变量里面,直接给出了anaconda的命令。
3) 使用 ctrl + shift + B 执行py程序文件
其实更多时候直接用F5就可以了,用户配置
"python.pythonPath": "d:\\ProgramData\\Anaconda3\\python.exe"

相关推荐:
VSCode下配置python调试运行环境的方法_python
vscode(Visual Studio Code)配置PHP开发环境的方法(已测)_编程开发_软件教程
以上就是在VS Code上搭建Python开发环境的方法_python的详细内容,更多文章请关注木庄网络博客!!
返回前面的内容
相关阅读 >>
Python中的文件打开与关闭操作命令介绍
Python一键搭建http服务器的方法
Python是编译型语言吗
Python中seth是什么
总结用Python 操作 pdf 的几种方法
Python使用add_subplot与subplot画子图操作
Python如何判断是不是回文数
Python适合做什么开发?
linux环境使用pdb调试Python的方法
Python中有哪些基本数据类型
更多相关阅读请进入《Python》频道 >>
人民邮电出版社
python入门书籍,非常畅销,超高好评,python官方公认好书。
转载请注明出处:木庄网络博客 » 在VS Code上搭建Python开发环境的方法_python