Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Created March 11, 2013 04:36
Show Gist options
  • Save hanksudo/5131914 to your computer and use it in GitHub Desktop.
Save hanksudo/5131914 to your computer and use it in GitHub Desktop.
Build Python program on Sublime Text
{
"cmd": ["python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"env":{
"PYTHONPATH": "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment