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

Published: 02 February 2022
on channel: 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


On this page of the site you can watch the video online Time Table Management System GUI in python | SciCompFacts | Python Tutorial | Computer| Programming with a duration of hours minute second in good quality, which was uploaded by the user SciComp Facts 02 February 2022, share the link with friends and acquaintances, this video has already been watched 192 times on youtube and it was liked by 4 viewers. Enjoy your viewing!