sublime text 3安装 package control 插件的方法

时间:2021-04-22 17:40:53

自动安装的方法 - 快捷键ctrl+` 或者View->Show Console,输入如下代码

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())

 

https://blog.csdn.net/kongguyoulan523/article/details/51144254