转载:http://my.oschina.net/lujian863/blog/181187
编辑C:\Users\用户名\AppData\Roaming\Sublime Text 2\Packages\User下Python.sublime-build,添加一行“shell”:”true”
{
"cmd": ["python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"shell": "true"
}