安装package control , 按ctrl + ~ :
-
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(''+pf.replace(' ','%20')).read())
安装支持中文
install package:
阅读(1171) | 评论(0) | 转发(0) |