# samples **Repository Path**: zxiaolon/samples ## Basic Information - **Project Name**: samples - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-10 - **Last Updated**: 2025-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Samples ## 使用说明 ### 配置环境 创建虚拟环境 ```shell ## 创建虚拟环境 conda create -n samples ## 激活环境 conda activate samples ## 添加依赖 conda install pandas conda install pyinstaller ## 导出依赖 pip freeze > requirements.txt conda list -e > requirements.txt ## 批量安装依赖 pip install -r requirements.txt conda install --yes --file requirements.txt ``` ### 打包exe 打包命令exe命令 ```shell pyinstaller -w -F samples.py --hidden-import=openpyxl.cell._writer ``` 说明: * -w: 取消控制台 * -F: 仅生成exe执行文件 * --hiden-import MOUDLENAME: 导入必要模块 Pyinstaller 说明文档: [官网](https://pyinstaller.org/en/stable/usage.html) ### 其他 #### tkinter美化 [ttkbootstrap](https://ttkbootstrap.readthedocs.io/en/latest/index.html)