sublime text3的Package Control安装
2014-03-06 16:42
357 查看
1、点击菜单 View -> Show Console ,显示console面板
2、在命令输入框中输入
回车,等待一会儿后,即可在Preferences中看到Package Control
2、在命令输入框中输入
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
回车,等待一会儿后,即可在Preferences中看到Package Control
相关文章推荐
- poj3461 Oulipo,Kmp
- 求直线与三角形的交点
- Http11: org.apache.coyote.http11
- myEclipse 总是默认打开一个工作空间
- PycURL 中文版文档
- CFLAGS,LDFLAGS,LIBS
- phpcms
- 《高效学习OpenGL》 之 选择 glSelectBuffer(),glRenderMode(),glInitNames(),glPushName()
- Executor & ExecutorService
- 齐次坐标 一般摄像机模型
- 我的第十五课:jQuery - 删除元素
- linux nginx开机启动
- 泛型类使用
- WINXP中添加字体的方法
- POJ 2449 Remmarguts' Date
- jQuery计算文本宽度和input标签根据输入字符动态自适应宽度的实现
- 在线编辑word文档代码
- mapreduce counter
- java 排序与二分法查找代码
- STL中各个容器的内存的释放