1. Tools -> Build System -> New Build System

2. 取名 PythonZH.sublime-build

3. 编辑 Pythonzh.sublime-build,输入:

{
    "env": {"LANG": "en_US.UTF-8"},
    "cmd": ["/usr/local/bin/python3", "-u", "$file"],
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python"
}

4. 保存重启sublime,新建的 PythonZH.sublime-build 在

sublime python mac不支持中文解决办法

 

5. 重启sublime后选择,刚新建的pythonzh

sublime python mac不支持中文解决办法

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-12-21
  • 2021-06-14
  • 2021-10-07
猜你喜欢
  • 2021-07-12
  • 2022-03-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
相关资源
相似解决方案