vscode配置python搭建开发环境教程
时间:2022-09-28 12:49:16
vscode怎么配置python搭建开发环境?vscode是一款强大的多功能兼容性强的IDE编辑器,支持多个语言与环境搭建。这里小编给大家分享下对于搭建python环境的详细步骤教程,一起来学习下吧。
vscode怎么配置python搭建开发环境?
1、打开VSCODE,点击左面的小四方块儿图标,搜索python,点击安装,完成后重新加载即可使用。
2、点击左面第四个小瓢虫图标,在点击“Add Configuration”添加配置文件,并选择Python选项,选择Python后会生成Python的配置文件launch.json,加入Python的本地安装目录,(记得是双斜杆,否则会报错)。
3、点击File-》Prefrences-》Settings,生成一个“settings.json”文件,填入Python安装目录:《“python.pythonPath”: “E:\soft\after\python”,》,
4、保存配置打开vscode 的file--》open folder 打开一个项目,创建hello.py文件。输入 print (‘hello world’),然后 点击鼠标右键,选择 Run Python File In Terminal ,代码终端即输出如下图,则表示配置完成。
标签:vscode配置python,vscode教程,vscode配置python开发环境,vscode,python环境搭建
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Excel 表格技巧—vlookup结果显示#N/A怎么办?
2023-09-10 13:08:40
WPS删除云文档文件的方法
2023-06-26 23:49:02
![](https://img.aspxhome.com/file/2023/5/a185815_0s.jpg)
包学包会的大白菜u盘装系统教程
2022-11-21 11:03:59
![](https://img.aspxhome.com/file/2023/2/a286308_0s.png)
win10x更新了什么?win10x更新内容介绍
2023-11-09 22:35:39
![](https://img.aspxhome.com/file/2023/5/47765_0s.jpg)
如何设置开机从U盘启动 U盘装系统启动热键大全
2022-10-21 06:49:02
![](https://img.aspxhome.com/file/2023/5/a319025_0s.jpg)
如何在wps中删除文本框边框
2023-11-18 04:25:36
Excel表格技巧—给整数抹去十位数为零的方法
2023-12-08 12:48:53
excel如何统计数量的问题,文章使用两个案例来介绍countif函数的使用
2022-11-05 22:42:34
![](https://img.aspxhome.com/file/2023/9/a162559_0s.gif)
Win7系统中dwm.exe是什么进程?怎么关掉dwm.exe
2022-11-20 09:26:09
![](https://img.aspxhome.com/file/2023/27/a232215_0s.jpg)
Excel2013数据透视表字段分组
2022-05-20 04:09:53
![](https://img.aspxhome.com/file/2023/9/38129_0s.jpg)
PS新手教程-如何使用PS给背景素材添加透明玻璃字效果
2022-09-04 21:15:37
![](https://img.aspxhome.com/file/2023/2/a202202_0s.jpeg)
Win10蓝牙鼠标抖动怎么办
2023-02-18 16:08:38
![](https://img.aspxhome.com/file/2023/26/a223316_0s.jpg)
Win10 1909即将发布正式版改进性能稳定性
2022-07-01 12:18:11
![](https://img.aspxhome.com/file/2023/3/a298978_0s.jpg)
Win10修改hosts文件无法保存的解决方法(不用更改权限)
2022-05-17 04:13:58
![](https://img.aspxhome.com/file/2023/26/a219335_0s.jpg)
Win10如何关闭驱动自动更新?Win10关闭驱动自动更新的操作方法
2022-01-24 23:14:14
![](https://img.aspxhome.com/file/2023/6/52696_0s.png)
word2010中如何进行批量替换
2023-12-13 00:44:18
![](https://img.aspxhome.com/file/2023/3/21393_0s.jpg)
Win10系统无法上网如何修复?win10上网提示宽带错误676怎么办?
2023-08-07 10:31:30
![](https://img.aspxhome.com/file/2023/7/46747_0s.png)
电脑版wps文档如何设置稿纸大小
2023-08-18 02:29:18
![](https://img.aspxhome.com/file/2023/8/a183338_0s.png)
电脑版wps文档如何将页脚文字的线条设置为红色
2022-03-28 19:15:26
![](https://img.aspxhome.com/file/2023/4/a183064_0s.png)
如何关闭win7的开机启动画面来加快系统启动的速度
2023-04-11 10:58:30
![](https://img.aspxhome.com/file/2023/29/a254440_0s.jpg)