提交一下,准备更换总线通信架构

This commit is contained in:
2025-09-27 08:36:08 +08:00
parent bb3ae1e65a
commit c7c0d15545
27 changed files with 267 additions and 209 deletions

View File

@@ -1,5 +1,7 @@
from pathlib import Path
from threading import Lock
import atexit
base_path = Path(__file__).resolve().parent.parent.parent
lock = Lock()
@@ -10,6 +12,10 @@ avatar = f"{base_path}/assets/media/avatar.jpg"
proverb = "佛曰Time will say~"
bg = f"{base_path}/assets/media/bg.jpg"
win_width, win_height = 1100, 500
conn, cursor = None, None
listW_items = ["实用工具", "效率提升", "财务分析"]
def delete_files_in_directory(directory):
path = Path(directory)
if path.exists() and path.is_dir():