使用tkinter实现的python文件整理工具
需安装pyinstaller
pip install pyinstaller==5.3
构建可执行文件, 在项目根目录下执行以下语句
pyinstaller --clean -Fw --add-data "./ICOs/main.ico;." --add-data "./theme;./theme" ./com/GUI_achieve.py
请直接运行GUI_achieve.py
报错请注释这两行
# 加载tk主题
# print(os.path.isfile(os.path.join(basedir, "../theme/azure.tcl")))
self.root.call("source", os.path.join(basedir, "azure.tcl"))
self.root.call("set_theme", 'light')