CS Student Ashish
CS Student Ashish
PROJECT REPORT
ON
TIME-TABLE MANAGMENT
SYSTEM
SUBMITTED BY -
NAME:- ASHISH APPAJI PUNAJICHE
CLASS :- XII-A
ROLL NO:-20
CERTIFICATE
PROJECT REPORT
ON
………………………………………………………
Submitted By :
Name of the student:
CBSE Roll Number:
Name of the School: Kendriya Vidyalaya No.2, Belagavi
Cantt.
School Code: 06345
EXPLANATION……………………..
CODES…………………………….
OUTPUT SCREENS…………………
BIBLOGRAPHY……………………..
EXPLANATION ABOUT
THE PROJECT
WINDOW 7,8,10…...
PYTHON VERSION(3.6.5)
MY SQL
SOURCE CODE
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox
import os, sys
sys.path.insert(0, 'windows/')
import timetable_stud
import timetable_fac
import sqlite3
def challenge():
conn = sqlite3.connect(r'files/timetable.db')
user = str(combo1.get())
if user == "Student":
cursor = conn.execute(f"SELECT PASSW, SECTION, NAME,
ROLL FROM STUDENT WHERE SID='{id_entry.get()}'")
cursor = list(cursor)
if len(cursor) == 0:
messagebox.showwarning('Bad id', 'No such user
found!')
elif passw_entry.get() != cursor[0][0]:
messagebox.showerror('Bad pass', 'Incorret
Password!')
else:
nw = tk.Tk()
tk.Label(
nw,
text=f'{cursor[0][2]}\tSection: {cursor[0][1]}\tRoll
No.: {cursor[0][3]}',
font=('Consolas', 12, 'italic'),
).pack()
m.destroy()
timetable_stud.student_tt_frame(nw, cursor[0][1])
nw.mainloop()
m = tk.Tk()
m.geometry('400x430')
m.title('Welcome')
tk.Label(
m,
text='TIMETABLE MANAGEMENT SYSTEM',
font=('Consolas', 20, 'bold'),
wrap=400
).pack(pady=20)
tk.Label(
m,
text='Welcome!\nLogin to continue',
font=('Consolas', 12, 'italic')
).pack(pady=10)
tk.Label(
m,
text='Username',
font=('Consolas', 15)
).pack()
id_entry = tk.Entry(
m,
font=('Consolas', 12),
width=21
)
id_entry.pack()
# Label5
tk.Label(
m,
text='Password:',
font=('Consolas', 15)
).pack()
B1_show = tk.Button(
pass_entry_f,
text='○',
font=('Consolas', 12, 'bold'),
command=show_passw,
padx=5
)
B1_show.pack(side=tk.LEFT, padx=15)
combo1 = ttk.Combobox(
m,
values=['Student', 'Faculty', 'Admin']
)
combo1.pack(pady=15)
combo1.current(0)
tk.Button(
m,
text='Login',
font=('Consolas', 12, 'bold'),
padx=30,
command=challenge
).pack(pady=10)
m.mainloop()
OUTPUT
BIBLIOGRAPHY
INTERNET:
https://itsourcecode.com/
BOOK:
Sumitra Arora-Computer science with python.
Textbook of class XI & XII