# LabelFile **Repository Path**: code_from_qh/label-file ## Basic Information - **Project Name**: LabelFile - **Description**: 文档打标签程序 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-13 - **Last Updated**: 2022-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: PyQt5, Python ## README # LabelFile ### 介绍 基于 PyQt5 的文档打标签程序 (边学边做的产物) > 有用的代码都在 main 目录下 ### 程序界面 ![20220115220934](https://my-picturebed.oss-cn-beijing.aliyuncs.com/BlogSrc/img/20220115220934.png) ### 安装教程及使用说明 #### 依赖的安装 项目依赖见根目录下的 `requirements.txt` 文件,该文件是由下面的命令生成的 ```shell pip freeze > requirements.txt ``` 运行项目前,须通过下面的命令来安装依赖包 ```shell pip install -r requirements.txt ``` #### 代码的运行及使用 1、Terminal 中执行下面的命令 ```shell python.exe .\labelFile.py ``` 2、然后将文件拖入框框就能自动识别,然后就可执行接下来的操作了 #### pyinstaller 将源代码打包成 `.exe` 可执行程序 ```shell pyinstaller -F -w -i C:/Users/Desktop/la_vie/smile.ico belle.py ``` `-w` : 表示程序执行时不要显示 dos 窗口 `-i` : 为程序添加图标,后面跟的是图标所在的路径 ### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request