好记性不如烂笔头

为sublime3添加python编译系统,这里使用的anonconda2中的python.exe(即python2.7版本)

步骤:

(1)打开sublime,打开“工具->编译系统->新编译系统”

(2)输入:

{
 "cmd":["python.exe", "-u", "$file"],  #编译器名字
 "path":"D:/Anaconda2",  #路径
 "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
 "selector": "source.python"
}

 

(3)保存为相应的build文件,保存到“D:\sublime\Sublime Text3\Data\Packages\User”中

完成上面步骤即可

 

相关文章:

  • 2022-12-23
  • 2022-01-22
  • 2021-06-19
  • 2022-12-23
  • 2021-12-21
  • 2021-12-05
  • 2022-12-23
  • 2021-05-26
猜你喜欢
  • 2022-12-23
  • 2021-06-30
  • 2022-01-03
  • 2021-06-29
  • 2021-06-25
  • 2022-02-18
相关资源
相似解决方案