会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
海布里Smiple
一点点
博客园
首页
新随笔
联系
订阅
管理
2017年11月29日
Python自动切换host(工作笔记)
摘要: 修改host代码: #coding:utf-8import os,timepwd = os.path.dirname(__file__) #获取当前文件夹的绝对路径pull_host_cmd = 'adb pull system/etc/hosts '+pwdpush_host_cmd = 'adb
阅读全文
posted @ 2017-11-29 11:35 海布里Simple
阅读(929)
评论(0)
推荐(0)
公告