首页 > 编程语言 > 详细

Visual Studio Code配置 Python 开发环境

时间:2017-02-21 00:48:06      阅读:277      评论:0      收藏:0      [点我收藏+]

Visual Studio Code配置 Python 开发环境

1、安装Python https://www.python.org/

技术分享

2、安装VSCodehttps://code.visualstudio.com/Download

3、在VSCode上安装Python Ctrl+P 调出控制台,敲ext install Python

4、Ctrl+Shift+P输入task,选中others,新建task.json文件,修改如下:

  1. {  

  2.     // See http://go.microsoft.com/fwlink/?LinkId=733558  

  3.     // for the documentation about the tasks.json format  

  4.     "version""0.1.0",  

  5.     "command""python",  

  6.     "isShellCommand"true,  

  7.     "args": ["${file}"],  

  8.     "showOutput""always"  

  9. }  

5、Ctrl+shift+B即可自动运行文件


Visual Studio Code配置 Python 开发环境

原文:http://www.cnblogs.com/mjxup/p/2d525281ff1383c0be85902e95a12276.html

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