Time Table Management System GUI in python | SciCompFacts | Python Tutorial | Computer| Programming

Pubblicato il: 02 febbraio 2022
sul canale di: SciComp Facts
192
4

Time table management system in GUI python using Tkinter

Hello everyone this is my first video and in this video I will be sharing my project with you all So if you like my video please do Like Share Subscribe and please Comment

Program Script 👇👇👇👇

from tkinter import *
root = Tk()
root.geometry("100x100")
l = Label(text="To Know which period is when press button and fill information ")
l.pack()
namevalue=StringVar()
dayvalue = StringVar()
periodvalue = IntVar()
nameentry= Entry(root, textvariable=namevalue)
periodentry = Entry(root, textvariable=periodvalue)
def d1():
l1 = ["null","Maths","Hindi","Comp","Fre","SST"]
periodentry.pack()
frame2 = Frame(root, borderwidth=6,bg="grey",relief=SUNKEN).pack(side=RIGHT , anchor="e")
def oop():
b= periodvalue.get()
Label(text=f"Period is {l1[b]}").pack()
b2 = Button( frame2 ,fg="yellow",text="Print", command= oop).pack()
def d2():
l2 = ["null","Maths","Eng","SST","Sans","Sci"]
periodentry.pack()
frame2 = Frame(root, borderwidth=6,bg="grey",relief=SUNKEN).pack(side=RIGHT , anchor="e")
def oop():
b= periodvalue.get()
Label(text=f"Period is {l2[b]}").pack()
b2 = Button( frame2 ,fg="yellow",text="Print", command= oop).pack()
def d3():
l3 = ["null","Eng","Maths","Maths Oly","Sci","Comp"]
periodentry.pack()
frame2 = Frame(root, borderwidth=6,bg="grey",relief=SUNKEN).pack(side=RIGHT , anchor="e")
def oop():
b= periodvalue.get()
Label(text=f"Period is {l3[b]}").pack()
b2 = Button( frame2 ,fg="yellow",text="Print", command= oop).pack()
def d4():
l4 = ["null","Hindi","Comp","Eng","Sans","SST"]
periodentry.pack()
frame2 = Frame(root, borderwidth=6,bg="grey",relief=SUNKEN).pack(side=RIGHT , anchor="e")
def oop():
b= periodvalue.get()
Label(text=f"Period is {l4[b]}").pack()
b2 = Button( frame2 ,fg="yellow",text="Print", command= oop).pack()
def d5():
l5 = ["null","Sci","Hindi","Maths","Fre","SST"]
periodentry.pack()
frame2 = Frame(root, borderwidth=6,bg="grey",relief=SUNKEN).pack(side=RIGHT , anchor="e")
def oop():
b= periodvalue.get()
Label(text=f"Period is {l5[b]}").pack()
b2 = Button( frame2 ,fg="yellow",text="Print", command= oop).pack()
def d6():
l6 = ["null","Eng","Sci","SST","Hindi"]
periodentry.pack()
frame2 = Frame(root, borderwidth=6,bg="grey",relief=SUNKEN).pack(side=RIGHT , anchor="e")
def oop():
b= periodvalue.get()
Label(text=f"Period is {l5[b]}").pack()
b2 = Button( frame2 ,fg="yellow",text="Print", command= oop)
def execute():
Label(text="Select any one day from below to view period respectively")
frame2 = Frame(root, borderwidth=6,bg="grey",relief=SUNKEN).pack(side=RIGHT , anchor="w")
b2 = Button( frame2 ,fg="green",text="Monday", command=d1)
b2.pack()
b3 = Button( frame2 ,fg="green",text="Tuesday", command=d2)
b3.pack()
b4 = Button( frame2 ,fg="green",text="Wednesday", command=d3)
b4.pack()
b5 = Button( frame2 ,fg="green",text="Thursday", command=d4)
b5.pack()
b6 = Button( frame2 ,fg="green",text="Friday", command=d5)
b6.pack()
b7 = Button( frame2 ,fg="green",text="Saturday", command=d6)
b7.pack()
def e1():
Label(text="Enter Your Name To Continue").pack()
nameentry.pack()
frame = Frame(root, borderwidth=6, bg="grey", relief=SUNKEN)
frame.pack(side=LEFT, anchor="nw")
b00 = Button( frame ,fg="red" ,text="Next", command=execute)
b00.pack()

frame = Frame(root, borderwidth=6, bg="grey", relief=SUNKEN)
frameand .pack(side=LEFT, anchor="nw")

b1 = Button( frame ,fg="red" ,text="Button", command=e1)
b1.pack()
root.mainloop()

And the link of the App I am using is below Pydroid 3👇👇👇

You all can simply download the pydroid three app by just searching Pydroid 3 on Play Store app and also install all other distribution which it requires

Thanks
SciCompFacts


In questa pagina del sito puoi guardare il video online Time Table Management System GUI in python | SciCompFacts | Python Tutorial | Computer| Programming della durata di ore minuti seconda in buona qualità , che l'utente ha caricato SciComp Facts 02 febbraio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 192 volte e gli è piaciuto 4 spettatori. Buona visione!