I ran into the same problem today. And here is how I managed to run python code in Sublime Text 3:
What you need to do next is replace the content in Python.sublime-build
to
{
"cmd": ["/usr/local/bin/python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
}
You can of course further customise it to something that works for you.