首页 > 编程语言 > 详细

通过vscode执行python程序

时间:2016-06-06 12:11:32      阅读:143      评论:0      收藏:0      [点我收藏+]

通过vscode执行python程序

  • 配置 tasks.json : ctrl + shifit + p 输入 “Tasks: Configure Task Runner”,
{
    "version": "0.1.0",

    // The command is tsc. Assumes that tsc has been installed using npm install -g typescript
    "command": "C:/Python27/python.exe",

    // The command is a shell script
    "isShellCommand": true,

    // Show the output window only if unrecognized errors occur.
    "showOutput": "always",

    // args is the HelloWorld program to compile.
    "args": ["${file}"]
}
  • ctrl + shift + B 执行

通过vscode执行python程序

原文:http://www.cnblogs.com/mick-li/p/5563076.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!