mirror of
https://github.com/HChaZZY/Random-Picker.git
synced 2025-12-06 10:33:50 +08:00
更改文件结构:附属assets资源文件夹与附属data数据文件夹
This commit is contained in:
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
9
点名器.pyw
9
点名器.pyw
@@ -16,6 +16,7 @@ gui.title("点名器")
|
|||||||
gui.geometry(gui_size)
|
gui.geometry(gui_size)
|
||||||
gui.resizable(0,0)
|
gui.resizable(0,0)
|
||||||
gui.configure(bg = "white")
|
gui.configure(bg = "white")
|
||||||
|
gui.iconbitmap("./assets/点名器.ico")
|
||||||
class Student(object):
|
class Student(object):
|
||||||
name = ""
|
name = ""
|
||||||
subject = ""
|
subject = ""
|
||||||
@@ -31,10 +32,10 @@ class Student(object):
|
|||||||
protection_override = False
|
protection_override = False
|
||||||
up_percent = 30
|
up_percent = 30
|
||||||
down_persent = 40
|
down_persent = 40
|
||||||
filename = "names.xls"
|
filename = "./data/names.xls"
|
||||||
configname = "config.data"
|
configname = "./data/config.data"
|
||||||
selname = "sel.wav"
|
selname = "./assets/sel.wav"
|
||||||
procname = "proc.wav"
|
procname = "./assets/proc.wav"
|
||||||
elim_rows = 1
|
elim_rows = 1
|
||||||
percent_override = True
|
percent_override = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user