# 桌面时钟 **Repository Path**: CZXyee/desktop-clock ## Basic Information - **Project Name**: 桌面时钟 - **Description**: 一个桌面时钟,可以自定义时区。 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-09-29 - **Last Updated**: 2025-03-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: Python ## README # 桌面时钟 #### 介绍 一个桌面时钟,可以自定义时区,使用 Python 编写,timezone 提供时区支持,PyQt5 作为 GUI 框架。 ![img01](images/img01.png) ![img02](images/img02.png) ![img03](images/img03.png) #### 使用 [下载 (win10及以上)](https://gitee.com/CZXyee/desktop-clock/releases/download/0.0.2/dist.zip),解压后双击 `desktop clock.exe` 以运行。 从源码: ```bash pip install -r requirements.txt python app.py ``` #### 打包 ```bash pyinstaller ./app.spec ``` #### 提示 如需要开机自启,可以将应用快捷方式[添加至启动文件夹](https://www.dell.com/support/kbdoc/zh-cn/000124550/%E5%9C%A8-windows-10-%E4%B8%AD%E5%B0%86%E7%A8%8B%E5%BA%8F%E5%92%8C%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E6%B7%BB%E5%8A%A0%E5%88%B0%E5%90%AF%E5%8A%A8%E6%96%87%E4%BB%B6%E5%A4%B9): 1. 运行`shell:startup`打开“启动”文件夹;![alt text](images/运行命令框.jpg) 2. 创建 `desktop idiom.exe` 快捷方式并添加到“启动”文件夹内。