码迷,mamicode.com
首页 > 编程语言 > 详细

使用VS Code开发Python

时间:2019-09-25 00:38:43      阅读:75      评论:0      收藏:0      [点我收藏+]

标签:选择   pytho   hello   int   ref   img   world   ctrl   mamicode   

1.安装vs code。下载地址https://code.visualstudio.com/

2.vs code安装Python插件

技术图片

 

 

 3.选取Python解释器

使用Ctrl+Shift+P打开命令板,输入Python: Select Interpreter进行搜索。

4.新建一个py文件,写几行测试的代码。然后F5选择python就运行了,也可以自己断点调试。

msg = "Hello World"
print(msg)

  技术图片

 

 技术图片

 文章另外地址:http://www.51wfn.com/243.html

使用VS Code开发Python

标签:选择   pytho   hello   int   ref   img   world   ctrl   mamicode   

原文地址:https://www.cnblogs.com/LonelyCode/p/11581897.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!