1xiao

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

首先要配置python的环境

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

https://www.python.org/downloads/windows/

选择Add Python 3.7 to PATH  和 Install Now

完成

 

检测是否安装成功

 (如图成功)

 

 打开sublime text3--tools--build system--new build system

 

 输入(*******为python安装路径最后有叙述)

{
 "cmd": ["********","-u","$file"],
 "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
 "selector": "source.python",
}

保存在sublime text3 --package--users下

 

 

完成可以运行

 

 

最后讲述一下找安装路径(在写时要把 \ 改成 / )

 

分类:

技术点:

相关文章:

  • 2022-01-01
  • 2021-08-22
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-03
  • 2022-01-03
  • 2022-12-23
  • 2021-11-19
  • 2022-01-04
  • 2021-11-07
相关资源
相似解决方案