Created
March 18, 2016 07:13
-
-
Save sporting/c3e3f2a344541059853c to your computer and use it in GitHub Desktop.
install package control on sublime text 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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