我基本上是从谷歌复制并粘贴了这个。我在OSX Mountain Lion上。
{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
我收到了这个错误:
[Errno 2] No such file or directory
[cmd: [u'python3', u'-u', u'/Users/MyMacName/Desktop/test.py']]
[dir: /Users/callofdutyfans9/Desktop]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]