# my-python-script **Repository Path**: kiritokun/my-python-script ## Basic Information - **Project Name**: my-python-script - **Description**: 我的python脚本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: dev - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-15 - **Last Updated**: 2025-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 我的python脚本 小工具 名称|下载地址 :----|:---- 合并拆分账单小工具.exe|https://gitee.com/kiritokun/my-python-script/releases/tag/v1.0 #### 直接运行的依赖 ```shell pip install pandas openpyxl ``` #### 打包的依赖 ```shell pip install pyinstaller ``` #### 打包命令 ````shell Pyinstaller -F -i chengzi.ico -n 合并拆分账单 mergeBill.py ```` #### 依赖源 ```shell pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyinstaller #清华源 ``` #### *venv(用这个打包体积小 推荐!!)* ```shell python -m venv mypython .\mypython\Scripts\activate.bat # pip install pandas openpyxl xlrd jinja2 pyinstaller pip install pandas openpyxl pyinstaller pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple Pyinstaller -F -i chengzi.ico -n 合并拆分账单 mergeBill.py .\mypython\Scripts\deactivate.bat ``` #### miniconda安装 用miniconda安装后依赖都有了,所以打包体积会增大 https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py39_24.3.0-0-Windows-x86_64.exe ```shell conda create -n mypython # python=3.12 conda env list conda init conda activate mypython conda deactivate ``` #### miniconda依赖 ```shell conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/ conda config --set show_channel_urls yes ```