sublime test3怎么配置、运行python

win10 系统下关于sublime text 3 怎么运行python

菜鸟本人,最近发现了一个编译神器,sublime text3 ,安装过程就不详述了,那么怎么配置和运行python

小菜尝试了网上以及大神们的方法,在大神们指导下完成,那么小菜写一下自己的心路历程

首先要配置python的环境

下载(在官网上找一个自己喜欢的版本)下载链接

选择Add Python 3.7 to PATH 和 Install Now
sublime test3怎么配置、运行python
完成
sublime test3怎么配置、运行python
检测是否安装成功(如图所示)
sublime test3怎么配置、运行python
打开sublime text3–tools–build system–new build system
sublime test3怎么配置、运行python
输入(*******为python安装路径最后有叙述)

{
“cmd”: ["********","-u","$file"],
“file_regex”: “1File "(…?)”, line ([0-9]*)",
“selector”: “source.python”,
}
最后保存在sublime text3 --package–users下

完成可以运行
sublime test3怎么配置、运行python
最后讲述一下找安装路径(在写时要把 \ 改成 / )

谢谢大家
(如果各路大神看出有什么不对的地方,一定要告诉我呀!)


  1. ↩︎