Minor update
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -18,7 +18,7 @@ missing module named grp - imported by shutil (delayed, optional), tarfile (opti
|
||||
missing module named pwd - imported by posixpath (delayed, conditional, optional), shutil (delayed, optional), tarfile (optional), pathlib._local (optional), subprocess (delayed, conditional, optional)
|
||||
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional)
|
||||
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional)
|
||||
missing module named 'collections.abc' - imported by traceback (top-level), typing (top-level), inspect (top-level), logging (top-level), importlib.resources.readers (top-level), selectors (top-level), tracemalloc (top-level)
|
||||
missing module named 'collections.abc' - imported by tracemalloc (top-level), traceback (top-level), typing (top-level), inspect (top-level), logging (top-level), importlib.resources.readers (top-level), selectors (top-level)
|
||||
missing module named posix - imported by posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional), os (conditional, optional)
|
||||
missing module named resource - imported by posix (top-level)
|
||||
missing module named _posixsubprocess - imported by subprocess (conditional)
|
||||
|
||||
Binary file not shown.
BIN
RollCall_App/dist/课堂随机点名.exe
vendored
BIN
RollCall_App/dist/课堂随机点名.exe
vendored
Binary file not shown.
@@ -12,7 +12,7 @@ import sys # Import sys for path joining
|
||||
class RollCallApp:
|
||||
def __init__(self, master):
|
||||
self.master = master
|
||||
master.title("课堂点名系统")
|
||||
master.title("课堂随机点名系统")
|
||||
|
||||
# --- Set Window Icon ---
|
||||
try:
|
||||
@@ -178,7 +178,7 @@ class RollCallApp:
|
||||
# --- File Selection Area ---
|
||||
file_frame = ttk.Frame(master)
|
||||
file_frame.pack(pady=20, padx=30)
|
||||
ttk.Label(file_frame, text="学生名单 (学号,姓名.txt):").pack(side=tk.LEFT, padx=(0,10))
|
||||
ttk.Label(file_frame, text="学生名单 (txt文件, 一行一个'姓名,学号')-->").pack(side=tk.LEFT, padx=(0,10))
|
||||
self.file_entry = ttk.Entry(file_frame, textvariable=self.file_path, width=25, state='readonly')
|
||||
self.file_entry.pack(side=tk.LEFT, padx=5, ipady=2) # Small ipady for entry height consistency
|
||||
self.load_button = ttk.Button(file_frame, text="选择文件", command=self.load_file)
|
||||
@@ -306,7 +306,7 @@ class RollCallApp:
|
||||
def update_counter(self):
|
||||
total = len(self.all_students)
|
||||
called_count = len(self.called_students) + len(self.absent_students)
|
||||
self.counter_label.config(text=f"已点名:{called_count}/{total}人 (总人数:{total})")
|
||||
self.counter_label.config(text=f"已点名:{called_count}/{total} 人")
|
||||
|
||||
def start_roll_call(self):
|
||||
if self.is_flashing: return
|
||||
|
||||
Reference in New Issue
Block a user