1 Star 2 Fork 1

铁牛仔 / Sublime-HostMan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
hosts.py 230 Bytes
一键复制 编辑 原始数据 按行查看 历史
铁牛仔 提交于 2013-10-07 19:57 . 初始化
import sublime, sublime_plugin
import os
class HostManCommand(sublime_plugin.TextCommand):
def run(self, edit):
path = os.path.join(os.environ['SYSTEMROOT'],"system32\\drivers\\etc\\hosts")
self.view.window().open_file(path)
Python
1
https://gitee.com/carlos/Sublime-HostMan.git
git@gitee.com:carlos/Sublime-HostMan.git
carlos
Sublime-HostMan
Sublime-HostMan
master

搜索帮助