# cmd_handle_router_py3 **Repository Path**: jaolong/cmd_handle_router_py3 ## Basic Information - **Project Name**: cmd_handle_router_py3 - **Description**: 使用py3添加删除win10的路由条目 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-17 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cmd_handle_router_py3 #### 介绍 使用py3添加删除win10的路由条目 #### 软件架构 * 添加路由:route_add.py * 删除路由:route_delete.py * 更新路由:route_update.py * 更新路由,同时更新网关:route_update_all.py * 路由条目配置:route_main.py * 以列表的形式添加,每条为要执行的命令 * 路由处理:route_handle.py #### 安装教程 * python3 * pyinstaller * pip install pyinstaller -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com * python包 * 见 requeriments.txt * 生成exe * 在终端输入 ```chcp 65001``` * pyinstaller -F -i add.ico route_add.py > 需要指定图标文件 * 打包EXE:```pyinstaller -F route_create_exe.py```, 完成后运行```route_create_exe.exe```即可生成所有文件 #### 使用说明 运行以下对应脚本即可: * 添加路由:route_add.py * 删除路由:route_delete.py * 更新路由:route_update.py * 更新路由,同时更新网关:route_update_all.py > tig: > 如果运行闪退或中止退出,请升级```python```版本到```3.7.7```及以上
#### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)