.sublime-build of Sublime Text 3 for Python Posted on 2018-11-05 Edited on 2021-12-01 This post saves the content of sublime-build file for reference. 12345{ "cmd": ["C:/software/Anaconda3/envs/py_torch/python.exe", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python"} Remarks: Only the path in cmd needs user modification. The above configuration uses the Python in a virtual environment named py_torch.