Skip to content

Instantly share code, notes, and snippets.

@sporting
Created March 18, 2016 07:13
Show Gist options
  • Save sporting/c3e3f2a344541059853c to your computer and use it in GitHub Desktop.
Save sporting/c3e3f2a344541059853c to your computer and use it in GitHub Desktop.
install package control on sublime text 3
import urllib.request,os;pf = 'Package Control.sublime-package';ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) );open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment