更改文件结构:附属assets资源文件夹与附属data数据文件夹

This commit is contained in:
13632530821
2022-11-19 19:46:17 +08:00
parent d8d7ce25f1
commit fd3a6bc219
5 changed files with 5 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

BIN
names.xls

Binary file not shown.

View File

@@ -16,6 +16,7 @@ gui.title("点名器")
gui.geometry(gui_size)
gui.resizable(0,0)
gui.configure(bg = "white")
gui.iconbitmap("./assets/点名器.ico")
class Student(object):
name = ""
subject = ""
@@ -31,10 +32,10 @@ class Student(object):
protection_override = False
up_percent = 30
down_persent = 40
filename = "names.xls"
configname = "config.data"
selname = "sel.wav"
procname = "proc.wav"
filename = "./data/names.xls"
configname = "./data/config.data"
selname = "./assets/sel.wav"
procname = "./assets/proc.wav"
elim_rows = 1
percent_override = True