Sublime Forum

Python build system

#1

I wrote a sublime-build file for python so I could execute scripts from the editor, this should work for anyone if they copy it into the Packages/Python directory and save it as “Python.sublime-build”

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

#2

This file is already on the standard distribution, what’s your version of ST2 ?

0 Likes