# python_serial_screen_demo **Repository Path**: chenqiguo86/python_serial_screen_demo ## Basic Information - **Project Name**: python_serial_screen_demo - **Description**: 控制TSC标签打印机程序 使用python的tkinter和serial模块实现简单的串口收发功能 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-05-12 - **Last Updated**: 2025-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python_serial_screen_demo #### 介绍 使用python的tkinter和serial模块实现简单的串口收发功能 #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. 安装依赖包 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyserial pillow pypdf2 2. xxxx 3. xxxx #### 打包 0. pyarmor encrypt your_script.py -o encrypted_script.pyc --machine-ids "your_machine_id_here" 绑定机器运行 1. pyarmor gen print.py 加密 2. installer -F print.py 打包 3. pyinstaller --paths=./ --hidden-import tkinter --hidden-import tkinter.* --hidden-import tkinter.scrolledtext --hidden-import tkinter.ttk --hidden-import tkinter.messagebox --hidden-import tkinter.filedialog --hidden-import serial.tools.list_ports --hidden-import threading --hidden-import time --hidden-import os --hidden-import PIL.Image --hidden-import io --hidden-import PyPDF2 --hidden-import PyPDF2.PdfReader --hidden-import pdf2image --hidden-import pdf2image.convert_from_path --hidden-import fitz --hidden-import pickle --hidden-import numpy --hidden-import io --hidden-import struct --hidden-import math --hidden-import datetime.datetime --hidden-import json --onefile ./print.py --noconsole --clean --name=print --distpath ./resources #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)