亚洲熟妇av一区二区三区,久久久久久精品观看sss,免费观看四虎精品国产永久,国产成人精品一区二三区熟女,天堂网在线最新版www资源网

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

今天刷到了一個這樣的短視頻,我尋思我是不是也可以寫一個類似的上課點名程序,想法經不起等待,說寫就寫~

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

一.準備工作

私信小編01即可獲取大量python學習資源

1.Tkinter

Tkinter 是 Python 內置的 TK GUI 工具集。TK 是 Tcl 語言的原生 GUI 庫。作為 python 的圖形設計工具,它所使用的 Tcl 語言環(huán)境已經完全嵌入到了 python 解釋器中。

我們使用Tkinter開發(fā)GUI界面。

2.PIL

PIL(Python Image Library)庫是Python語言的第三方庫,需要通過pip工具安裝。安裝PIL庫的方法如下,需要注意,安裝庫的名字是pillow。

PIL庫支持圖像儲存、顯示和處理,他能夠處理幾乎所有圖片格式,可以完成對圖像的縮放、剪裁、疊加以及向圖像添加線條、圖像和文字等操作。

使用PIL中的Image,ImageTk處理、引入一張圖片,可以使用下面代碼安裝一下。

pip install pillow

二.預覽

1.啟動

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

雙擊打開后,進入軟件主界面,所有功能一目了然。程序會自動識別軟件目錄下的names.txt,將里面的名字導入。

2.開始點名-順序點名

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

選擇順序點名后,點擊開始,屏幕上就開始滾動出現人名,人名出現的概率是相同的,點擊停止,人名就停止?jié)L動,點名結束。

3.開始點名-隨機點名

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

點擊隨機點名,程序就會進行隨機點名,人名出現的概率是隨機的。

4.手動加載人名單

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

可以自己手動選擇人名單,前提是人名單格式為txt,且每個名字占一行。

5.開始點名-順序點名-Pyqt5版本

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

用Pyqt5也寫了一個版本,實現邏輯與TK版本相同,界面可能更好看了一些,但是文件大了許多,大家可以在后面總結部分自取。

三.思路

1.整體實現思路

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

2.點名實現思路

用Python寫了一個上課點名系統(tǒng)(附源碼)(自制考勤系統(tǒng))(python上課點名程序簽到)

四.源代碼

point_names-GUI.py(主程序GUI)

import randomimport reimport timeimport threadingfrom tkinter import *from tkinter import ttkfrom base64 import b64decodefrom PIL import Image,ImageTkfrom tkinter import messageboxfrom tkinter.filedialog import askopenfilename""""2021-11-10點名/抽獎程序主要亮點:1.兩種模式:①順序點名②隨機點名2.自動識別人名單3.支持手動導入人名單4.人名單導入校驗5.人名顯示位置自動矯正6.最多顯示五個大字"""imgs=['./point_name.png']class APP: def __init__(self): self.root = Tk() self.running_flag=False #開始標志 self.time_span=0.05 #名字顯示間隔 self.root.title('Point_name-V1.0') width = 680 height = 350 left = (self.root.winfo_screenwidth() - width) / 2 top = (self.root.winfo_screenheight() - height) / 2 self.root.geometry("%dx%d %d %d" % (width, height, left, top)) self.root.resizable(0,0) self.create_widget() self.set_widget() self.place_widget() self.root.mainloop() def create_widget(self): self.label_show_name_var=StringVar() self.label_show_name=ttk.Label(self.root,textvariable=self.label_show_name_var,font=('Arial', 100,"bold"),foreground = '#1E90FF') self.btn_start=ttk.Button(self.root,text="開始",) self.btn_load_names=ttk.Button(self.root,text="手動加載人名單",) self.lf1=ttk.LabelFrame(self.root,text="點名方式") self.radioBtn_var=IntVar() self.radioBtn_var.set(1) self.radioBtn_sequence=ttk.Radiobutton(self.lf1,text="順序點名",variable=self.radioBtn_var, value=1) self.radioBtn_random=ttk.Radiobutton(self.lf1,text="隨機點名",variable=self.radioBtn_var, value=2) self.label_show_name_num=ttk.Label(self.root,font=('Arial', 20),foreground = '#FF7F50') paned = PanedWindow(self.root) self.img = imgs img_=b'iVBORw0KGgoAAAANSUhEUgAAALQAAAB4CAIAAADUhU qAAAACXBIWXMAAAsTAAALEwEAmpwYAAAgAElEQVR4nO196XNbx5Vvd9 LfSU2EgD3fRNJbZRkyVJseY9sP7scOy ZTCqpVKXm8/wp TA1X2amJjWZSXksy1Ik27IsWXIsRpK1kCIpLgBJkAAXrMQO3K3fh0O0rkBKkaONzvOJSwGBu3b/ uznNKaUoh/oyZB6bDHG2 RSD0/807mNmth7ql/ymbz8EyL2LvdbeH/bC245bk UHgQOSik8x8O85P0eHb5XX4pSSghRX7Pq nAwxhi 3zwWlFJFURBC7Dr3G68tv3/0UYYnZC91P8IYw3NSSjmO23zTv/okbPTYaz7NlXMXHJtf AHTw05hn9kxVaewi9AKVX2z Sz1uQ 4KaVUlmVUGTIGvs2j/52e/6/SZlg/4PqKokiSVPWQD39TgFfVuD1tzgGvUbWg2dPcj7b8VT09DAQIIVmWy VyqVSSZVl9I/bmWq1Wr9drNJrNs7uZtbAVqYbFlkey5atmXewF1S/7kC oZlqMC255uqIoq6urgUDAYrF0dnaaTKa/OqRVd69aP9/p9Eene8CBNjE6NUNDD4FZOB5YKLsmQkiW5ZWVlatXrwaDQUIIx3HqSVUURRAEo9F44MCBoaEhQgicxR4JnoHN8fr6 urqqt1udzqdWq2WUipJEntCRVFEUczn85IkAWthj8Fux54NY2w0Gu12u06ne/DbMSjALWRZhj8VRaliCer5m5mZ dd//Ve/3/9P//RPzc3NVQdseRYDgSzLmUwmm80aDAan0wnDAndnQ/RXRdujEM eEu4hy3I4HI7H436/v6amplQqlUolk8lEKZ2enl5eXsYYGwwGs9lss9lqamqsVqtWqyWEwKip51uNelEU79y58/vf/x5j/NZbbxmNRhhZODifz1 7du369euyLPf29vI8rx6pbDa7vLxMKYX5SyQSly5dmp2dfemllw4ePGg2m3meRwhxHMdmLhwOX7p0aXV1tVgsptPpQqF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i7D/KQ2FBRaYQQiCDi6WEKJRyGJKE0AZQRNv3QQAAAltJREFUcWXDF4DjfV70CQ7iY6JtBw6kSuRHCMFOLr/5zW/a2to uijYDAIO5WKogh7U8iyLMsSxxFWcAC5EhgBMu5axRCpoYokiUI2l5Oh9SBG4NveiI3Rjf8UiiAddKP3hiyrVEe04TlBaMNcIVihgBfgOkSW5YoI2n5GyEPTdgQHqvAP GwwGPr6 sxm8 zsbLFYfPvttw8dOiRJUjKZhPaPqVQym81kstlcLifLcj6Xg5xTntfY7TWsaq3iPpEJRyD7AvQDBVG8oVXArQnHaTjMUVXquVrF2Ajxb5guuFLKokD8n c1Gl4jy/SutlkxTL53tE3BgVSmHbdRWrLRVKOxsXHPnj1msxlav0FFa6lUgPYHYNyeOXPm PHjDQ2NP/3p/21pacGVRmGUUlmRyuXihfPnT548KYiiJMuE48CbhTFRFAVRmSM84TRUoRhKCDjursigaMMEraSQYoIRogBnrFS2tpRkpNIzvqfsY/uCQ02KohSLxWw2C WNqFJUyAqUFUVWqKzICrjFRkZGYH9oaPh0b48eqVgqrK6unjt3ThCFjU3/FBlTTAiliAIaONAzMKaKQplOitBdpRepvKWVD4QQjVajN hz QL6XqgVDyRekqVn/Qz3pQ2GQZWyUM7msphgm92m0fIKVWRZ3ghzKAj0BJD iqIIolgWBKvNZnfUEI5QpFBEMMZwGCYYEwVhiRIZUyQpgkJFTBBVkILljZCKBhENorKMiCwjUZAo MEQYlFacJZTvKFXQEiQEEJ4LTEYdbwWK1SQZFGSZXiXeznH9wM2/w8z07TIub6ABQAAAABJRU5ErkJggg==' the_img = b64decode(img_)#將圖片硬編碼到GUI paned.image = ImageTk.PhotoImage(data=the_img) self._img = Label(self.root, image=paned.image,background='black') def set_widget(self): default_name_="會是誰?" self.label_show_name_var.set(default_name_) self.label_show_name_adjust(default_name_) self.btn_start.config(command=lambda :self.thread_it(self.start_point_name)) self.btn_load_names.config(command=self.load_names) init_names=self.load_names_txt("./names.txt") self.root.protocol('WM_DELETE_WINDOW',self.quit_window) self.root.bind('<Escape>',self.quit_window) if init_names: self.default_names=init_names #1.文件存在但是無內容。2.文件不存在 self.label_show_name_num.config(text=f"一共加載了{len(self.default_names)}個姓名") else: self.btn_start.config(state=DISABLED) self.label_show_name_num.config(text=f"請先手動導入人名單!") def place_widget(self): self.lf1.place(x=300,y=160,width=250,height=50) self.radioBtn_sequence.place(x=20,y=0) self.radioBtn_random.place(x=150,y=0) self.btn_start.place(x=300,y=220,width=100,height=30) self.btn_load_names.place(x=450,y=220,width=100,height=30) self._img.place(x=90, y=165, height=120, width=180) self.label_show_name_num.place(x=300,y=260) def label_show_name_adjust(self,the_name): if len (the_name)==1: self.label_show_name.place(x=280, y=10) elif len(the_name) == 2: self.label_show_name.place(x=180, y=10) elif len(the_name) == 3: self.label_show_name.place(x=120, y=10) elif len(the_name) == 4: self.label_show_name.place(x=80, y=10) else: self.label_show_name.place(x=0, y=10) def start_point_name(self): """ 啟動之前進行判斷,獲取點名模式 :return: """ if len(self.default_names)==1: messagebox.showinfo("提示",'人名單就一個人,不用選了!') self.label_show_name_var.set(self.default_names[0]) self.label_show_name_adjust(self.default_names[0]) return if self.btn_start["text"]=="開始": self.btn_load_names.config(state=DISABLED) self.running_flag=True if isinstance(self.default_names,list): self.btn_start.config(text="就你了") if self.radioBtn_var.get()==1: mode="sequence" elif self.radioBtn_var.get()==2: mode="random" else: pass self.thread_it(self.point_name_begin(mode)) else: messagebox.showwarning("警告","請先導入人名單!") else: self.running_flag=False self.btn_load_names.config(state=NORMAL) self.btn_start.config(text="開始") def point_name_begin(self,mode): """ 開始點名,點名主函數 :param mode: :return: """ if mode == "sequence": if self.running_flag: self.always_ergodic() elif mode=="random": while True: if self.running_flag: random_choice_name=random.choice(self.default_names) self.label_show_name_var.set(random_choice_name) self.label_show_name_adjust(random_choice_name) time.sleep(self.time_span) else: break def always_ergodic(self): """ 一直遍歷此列表,使用死循環(huán)會造成線程阻塞 :return: """ for i in self.default_names: if self.running_flag: self.label_show_name_var.set(i) self.label_show_name_adjust(i) time.sleep(self.time_span) if i==self.default_names[-1]: self.always_ergodic() else: break def load_names(self): """ 手動加載txt格式人名單 :return: """ filename = askopenfilename( filetypes = [('文本文件', '.TXT'), ], title = "選擇一個文本文件", initialdir="./" ) if filename: names=self.load_names_txt(filename) if names: self.default_names=names no_Chinese_name_num=len([n for n in names if not self.load_name_check(n)]) if no_Chinese_name_num==0: pass else: messagebox.showwarning("請注意",f'導入名單有{no_Chinese_name_num}個不是中文名字') self.label_show_name_num.config(text=f"一共加載了{len(self.default_names)}個姓名") default_name_ = "會是誰?" self.label_show_name_var.set(default_name_) self.label_show_name_adjust(default_name_) self.btn_start.config(state=NORMAL) else: messagebox.showwarning("警告","導入失敗,請檢查!") def load_names_txt(self,txt_file): """ 讀取txt格式的人名單 :param txt_file: :return: """ try: with open(txt_file,'r',encoding="utf-8")as f: names=[name.strip() for name in f.readlines()] if len(names)==0: return False else: return names except: return False def load_name_check(self,name): """ 對txt文本中的人名進行校驗 中文漢字->True 非中文漢字->False :param name: :return: """ regex = r'[u4e00-u9fa5] ' if re.match(regex,name): return True else: return False def thread_it(self,func,*args): t=threading.Thread(target=func,args=args) t.setDaemon(True) t.start() def quit_window(self,*args): """ 程序退出觸發(fā)此函數 :param args: :return: """ ret=messagebox.askyesno('退出','確定要退出?') if ret: self.root.destroy()if __name__ == '__main__': a=APP()

五.總結

本次使用Tkinter開發(fā)了一款上課點名程序,此程序可以用于點名、抽獎…代碼不到200行,程序簡單又實用,主要有以下六個亮點:

1.兩種模式:

  • 順序點名
  • 隨機點名

2.自動識別人名單

3.支持手動導入人名單

4.人名單導入校驗

5.人名顯示位置自動矯正

6.最多顯示五個大字

版權聲明:本文內容由互聯網用戶自發(fā)貢獻,該文觀點僅代表作者本人。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。如發(fā)現本站有涉嫌抄襲侵權/違法違規(guī)的內容, 請發(fā)送郵件至 舉報,一經查實,本站將立刻刪除。