Project Report Guidelines for IT Students
Project Report Guidelines for IT Students
Information Technology
By
AUGUST 2020
i
________________________________________________________________
SCHOOL OF COMPUTING
BONAFIDE CERTIFICATE
This is to certify that this Professional Training Report is the bonafide work
of MOHAMMED SALMAN (37120047) who underwent the professional
training in “COLLEGE MANAGEMENT SYSTEM USING PYTHON” under
our supervision from July 2020 to September 2020.
Internal Guide
[Link], M.E.,Ph.D.,
iii
ACKNOWLEDGEMENT
iv
ABSTRACT
v
TRANNING CERTIFICATE
vi
ONLINE CERTIFICATE
vii
LIST OF ABBREVATIONS
CHAPTER NO TITLE PAGE NO
1 INTRODUCTION 1
3.2.1 PYCHARM
3.2.2 MYSQL
5.1 CONCLUSION 8
5.2 FURTHER ENHANCEMNT 9
vii
6 REFERENCES 10
7 APPENDEX 11
a. SAMPLE CODE
b. SCREENSHOTS
viii
TABLE OF CONTENTS
LIST OF FIGURES
1 ER DIAGRAM 3
2 BLOCK DIAGRAM 4
3 ADMIN BLOCK 7
ix
[Link]
College Management System for college students have been developed which aims to rate
and analyse the college faculty’s performance. This type of College Management System
reduces , the strenuous work of physically examining the all pages of each and every student.
The system also reduces the burden of efforts and burden of keeping and maintaining the
records on a manual base, it requires a lot of space and safety to keep up such records. Also
the College Management can be tempered for wrong reasons in case of paper based data
wherein the SFS will always ensure safety of data privacy. Another important features of the
SFS is that physical presence of neither the admin nor the student is required for the either
giving the data nor for assessing the data . Also further enhancement can be done and more
features can be added for better retrieval of the data details.
1
costs. College Management [Link] (Size: 2.3 MB / Downloads: 858). Hence
estimating the performance of lecturers and giving feedback to college staff. So, the
existing system carries more time to do a piece of work for this reason the College
Management System is implemented.
In this project we implemented the system which works on the concept of College
Management System from students which is the replacement of existing paper data system
which is so complicated method for finding an average for particular subject data which is
submitted by faculty. This project has two kinds of users Student, Staff. In this system we
have design main three forms student login form, admin login form, faculty login form.
Student will login in their login form with proper id and password which is provided by
admin at the time of registration. The student can see marks in online system provided by
college staff. First of staff can prepare questions and add, update these questions to the online
system. After that if student want any changes in his profile then there is an option for edit
such particular information of his own. After that the subject contains page is displayed,
where the subject is located in it and as per the selection from student students continued to
their data after this page the mark page is displayed. This system can be developed using
After that it was viewed by the students and can see their data about the lecturers. This page
contains a form which includes such questions about the teachers where it contains some
simple question regarding particular subject faculty. After seeing the data the page appeared
which contains a message like you are data is seen. Then after data is seeing there is a log out
button after click on it student will successfully log out from their profile. In main page it
contains some hyperlinks like contact us, frequently ask questions, and submit the queries.
And contains three particular modules like student login, admin login, staff login etc. Admin
will fill the information of students as well as view their feedback, add and delete student and
generate the average report of that feedback. After that log out button occurs and admin
simply logout from the system. Student will login by using user id and password and after the
login page will be open contains subjects, suggestion box, submit suggestions, submit
feedback and after their occurs a log out button for logout successfully from the system.
2
1.4 OBJECTIVES
Figure: 1
3
2. AIM AND SCOPE OF THE PRESENT INVESTIGATION
2
2.1 COLLEGE MANAGEMENT SYSTEM
Finally, report was referred by the faculty and give suggestions to students to
improve their learning skills. These are the four modules present in the project so we
have developed these things in very easy and clearly understandable way. So, by
seen above description the proposed system having many advantages as compared
to the existing system.
A server portal is a commonly used phrase to describe the page where admin can
have a user name and password to gain access to an education organization's
programs and other learning related materials.
For example, a learner who has enrolled in an online certification program may use a
student portal to access online course materials, such as articles, lectures and
videos, hosted on the school's servers. Student portals may be used to provide
information about the school, special events, course details, calendars, academic
resources and contact information.
Some student portals may integrate with other systems to provide students with easy
access to personal information, such as as tracking bursary awards and campus
medical insurance
Figure:2
4
3. EXPERIMENTAL OR MATERIALS AND METHODS
3.2.1 PYCHARM
WHY PYCHARM ?
3.2.2 MYSQL
WHY MYSQL ?
1. Data Security
2. On-Demand Scalability
3. High Performance
4. The Flexibility of Open Source
5
4. RESULTS AND DISCUSSION, PERFORMANCE ANALYSIS
The user can log into the system with a valid user ID and password; fill in an
college management form and see the data to the system. The administrator can
analyze the data. The college management system is platform independent. So
there is no need for installing any additional software on the client systems. The
new system issues the users, asset of questionnaires. The users answer the
question and see the data. This is very effective, fast and cost effective method for
see the data. The users who see the data are authenticated with a login ID and
password
4.2 TESTING
Software testing is a critical element of software quality assurance and represents
the ultimate reuse of specification. Design and code testing represents interesting
anomaly for the software during earlier definition and development phase, it was
attempted to build software from an abstract concept to tangible implementation. The
testing phase involves, testing of the development of the system using various
techniques such as White Box Testing Control Structure Testing.
6
Figure 3
7
5. SUMMARY AND CONCLUSIONS
5.1 CONCLUSION
8
5.2 FURTHER ENHANCEMENT
In this project, we have added all the future enhancement for designing and
development the page all the users cant access the service at any time if the page
will come the will be act as a friendly for the users.
9
5.3 REFERENCES
1. [Link]
2. [Link]
3. [Link]
4. [Link]
5. [Link]
10
APPENDIX
a. Sample Code
[Link]
def __marksheet__():
filename = 'Search_Page.py'
[Link](filename)
[Link]('notepad'+filename)
def __Library__():
filename = 'Library_Frontend.py'
[Link](filename)
[Link]('notepad'+filename)
def __information__():
filename = 'Std_info_FrontEnd.py'
[Link](filename)
[Link]('notepad'+filename)
def __FeeReport__():
filename = 'Fee_Frontend.py'
[Link](filename)
[Link]('notepad'+filename)
def menu():
root = Tk()
[Link]('Menu')
[Link]('1350x750')
[Link](bg = 'navajo white')
#========================================================FRAMES====================
===============================================
Frame_1 = LabelFrame(root, font = ('arial',17,'bold'), width = 1000, height
= 100, bg = 'navajo white', relief = 'ridge', bd = 10)
Frame_1.grid(row = 1, column = 0, padx = 280)
Frame_2 = LabelFrame(root, font = ('arial',17,'bold'), width = 1000, height
= 100, bg = 'navajo white', relief = 'ridge', bd = 10)
Frame_2.grid(row = 2, column = 0, padx = 130, pady = 7)
Frame_3 = LabelFrame(root, font = ('arial',17,'bold'), width = 1000, height
= 100, bg = 'navajo white', relief = 'ridge', bd = 10)
Frame_3.grid(row = 3, column = 0, pady = 7)
Frame_4 = LabelFrame(root, font = ('arial',17,'bold'), width = 1000, height
= 100, bg = 'navajo white', relief = 'ridge', bd = 10)
Frame_4.grid(row = 4, column = 0, pady = 7)
#========================================================LABELS====================
===============================================
Label_1 = Label(Frame_1, text = 'STUDENT PROFILE', font =
('arial',25,'bold'), bg = 'navajo white')
Label_1.grid(row = 0, column = 0, padx = 50, pady = 5)
Label_2 = Label(Frame_2, text = 'FEE REPORT', font = ('arial',25,'bold'), bg
= 'navajo white')
Label_2.grid(row = 0, column = 0, padx = 100, pady = 5)
Label_3 = Label(Frame_3, text = 'LIBRARY SYSTEM', font =
('arial',25,'bold'), bg = 'navajo white')
Label_3.grid(row = 0, column = 0, padx = 60, pady = 5)
Label_4 = Label(Frame_4, text = 'MARKSHEET', font = ('arial',25,'bold'), bg
= 'navajo white')
Label_4.grid(row = 0, column = 0, padx = 101, pady = 5)
#========================================================BUTTONS===================
================================================
Button_1 = Button(Frame_1, text = 'VIEW', font = ('arial',16,'bold'), width
= 8, command = __information__)
Button_1.grid(row = 0, column = 3, padx = 50)
Button_2 = Button(Frame_2, text = 'VIEW', font = ('arial',16,'bold'), width
= 8, command = __FeeReport__)
Button_2.grid(row = 0, column = 3, padx = 50)
Button_3 = Button(Frame_3, text = 'VIEW', font = ('arial',16,'bold'), width
= 8, command = __Library__)
Button_3.grid(row = 0, column = 3, padx = 50)
Button_4 = Button(Frame_4, text = 'VIEW', font = ('arial',16,'bold'), width
= 8, command = __marksheet__)
Button_4.grid(row = 0, column = 3, padx = 50)
[Link]()
if __name__ == '__main__':
menu()
[Link] information
try:
global selected_tuple
index = [Link]()[0]
selected_tuple = [Link](index)
self.Entry_name.delete(0, END)
self.Entry_name.insert(END, selected_tuple[1])
self.Entry_fname.delete(0, END)
self.Entry_fname.insert(END, selected_tuple[2])
self.Entry_mname.delete(0, END)
self.Entry_mname.insert(END,
selected_tuple[3])from tkinter import*
import [Link]
import random
import Std_info_BackEnd
from tkinter import ttk
class Std_info():
def __init__(self, master):
[Link] = master
[Link]('Student Information')
[Link]('1350x750')
[Link](bg = 'navajowhite')
def information():
#========================================================Variables=================
====================================================
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
#==========================================================Functions===============
=====================================================
def StudentRec(event):
self.Entry_address.delete(0, END)
self.Entry_address.insert(END,
selected_tuple[4])
self.Entry_mobno.delete(0, END)
self.Entry_mobno.insert(END, selected_tuple[5])
self.Entry_emailID.delete(0, END)
self.Entry_emailID.insert(END,
selected_tuple[6])
self.Entry_dob.delete(0, END)
self.Entry_dob.insert(END, selected_tuple[7])
self.Entry_gender.delete(0, END)
self.Entry_gender.insert(END, selected_tuple[8])
except IndexError:
pass
def Add():
if(len([Link]()) != 0):
Std_info_BackEnd.insert([Link](),
[Link](), [Link](), [Link](), [Link](),
[Link](), [Link](), \
[Link]())
[Link](0, END)
[Link](END, ([Link](),
[Link](), [Link](), [Link](), [Link](),
[Link](), [Link](), \
[Link]()))
def Display():
[Link](0, END)
for row in Std_info_BackEnd.view():
[Link](END, row, str(' '))
def Exit():
Exit = [Link]("Login System",
"Confirm if you want to Exit")
if Exit > 0:
[Link]()
return
def Reset():
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link](0, END)
def Delete():
if(len([Link]()) != 0):
Std_info_BackEnd.delete(selected_tuple[0])
Reset()
Display()
def Search():
[Link](0, END)
for row in Std_info_BackEnd.search([Link](),
[Link](), [Link](), [Link](), [Link](),
[Link](), [Link](),[Link]()):
[Link](END, row, str(' '))
def Update():
if(len([Link]()) != 0):
Std_info_BackEnd.delete(selected_tuple[0])
if(len([Link]()) != 0):
Std_info_BackEnd.insert([Link](),
[Link](), [Link](), [Link](), [Link](),
[Link](), [Link](), \
[Link]())
[Link](0, END)
[Link](END, ([Link](),
[Link](), [Link](), [Link](), [Link](),
[Link](), [Link](), \
[Link]()))
#============================================================Frames================
=====================================================
#========================================================Labels of
Frame_1========================================================
self.Label_name = Label(self.Frame_1, text = 'Name', font =
('arial',20,'bold'), bg = 'navajowhite')
self.Label_name.grid(row = 0, column = 0, sticky = W, padx =
20, pady = 10)
self.Label_fname = Label(self.Frame_1, text = 'Father Name',
font = ('arial',20,'bold'), bg = 'navajowhite')
self.Label_fname.grid(row = 1, column = 0, sticky = W, padx =
20)
self.Label_mname = Label(self.Frame_1, text = 'Mother Name',
font = ('arial',20,'bold'), bg = 'navajowhite')
self.Label_mname.grid(row = 2, column = 0, sticky = W, padx =
20)
self.Label_address = Label(self.Frame_1, text = 'Address',
font = ('arial',20,'bold'), bg = 'navajowhite')
self.Label_address.grid(row = 3, column = 0, sticky = W, padx
= 20)
self.Label_mobno = Label(self.Frame_1, text = 'Mobile Number',
font = ('arial',20,'bold'), bg = 'navajowhite')
self.Label_mobno.grid(row = 4, column = 0, sticky = W, padx =
20)
self.Label_emailID = Label(self.Frame_1, text = 'Email ID',
font = ('arial',20,'bold'), bg = 'navajowhite')
self.Label_emailID.grid(row = 5, column = 0, sticky = W, padx
= 20)
self.Label_dob = Label(self.Frame_1, text = 'Date of Birth',
font = ('arial',20,'bold'), bg = 'navajowhite')
self.Label_dob.grid(row = 6, column = 0, sticky = W, padx =
20)
self.Label_gender = Label(self.Frame_1, text = 'Gender', font
= ('arial',20,'bold'), bg = 'navajowhite')
self.Label_gender.grid(row = 7, column = 0, sticky = W, padx =
20, pady = 10)
#========================================================Entries of
Frame_1========================================================
self.Entry_name = Entry(self.Frame_1, font =
('arial',17,'bold'), textvariable = [Link])
self.Entry_name.grid(row = 0, column = 1, padx = 10, pady = 5)
self.Entry_fname = Entry(self.Frame_1, font =
('arial',17,'bold'), textvariable = [Link])
self.Entry_fname.grid(row = 1, column = 1, padx = 10, pady =
5)
self.Entry_mname = Entry(self.Frame_1, font =
('arial',17,'bold'), textvariable = [Link])
self.Entry_mname.grid(row = 2, column = 1, padx = 10, pady =
5)
self.Entry_address = Entry(self.Frame_1, font =
('arial',17,'bold'), textvariable = [Link])
self.Entry_address.grid(row = 3, column = 1, padx = 10, pady =
5)
self.Entry_mobno = Entry(self.Frame_1, font =
('arial',17,'bold'), textvariable = [Link])
self.Entry_mobno.grid(row = 4, column = 1, padx = 10, pady =
5)
self.Entry_emailID = Entry(self.Frame_1, font =
('arial',17,'bold'), textvariable = [Link])
self.Entry_emailID.grid(row = 5, column = 1, padx = 10, pady =
5)
self.Entry_dob = Entry(self.Frame_1, font =
('arial',17,'bold'), textvariable = [Link])
self.Entry_dob.grid(row = 6, column = 1, padx = 10, pady = 5)
self.Entry_gender = [Link](self.Frame_1, values = ('
','Male','Female','Others'),\
font = ('arial',17,'bold'),
textvariable = [Link], width = 19)
self.Entry_gender.grid(row = 7, column = 1, padx = 10, pady =
5)
#========================================================Buttons of
self.Frame_3=========================================================
[Link] = Button(self.Frame_3, text = 'SAVE', font =
('arial',17,'bold'), width = 8, command = Add)
[Link](row = 0, column = 0, padx = 10, pady = 10)
[Link] = Button(self.Frame_3, text = 'DISPLAY', font
= ('arial',17,'bold'), width = 8, command = Display)
[Link](row = 0, column = 1, padx = 10, pady =
10)
[Link] = Button(self.Frame_3, text = 'RESET', font =
('arial',17,'bold'), width = 8, command = Reset)
[Link](row = 0, column = 2, padx = 10, pady = 10)
[Link] = Button(self.Frame_3, text = 'UPDATE', font =
('arial',17,'bold'), width = 8, command = Update)
[Link](row = 0, column = 3, padx = 10, pady = 10)
[Link] = Button(self.Frame_3, text = 'DELETE', font =
('arial',17,'bold'), width = 8, command = Delete)
[Link](row = 0, column = 4, padx = 10, pady = 10)
[Link] = Button(self.Frame_3, text = 'SEARCH', font =
('arial',17,'bold'), width = 8, command = Search )
[Link](row = 0, column = 5, padx = 10, pady = 10)
[Link] = Button(self.Frame_3, text = 'EXIT', font =
('arial',17,'bold'), width = 8, command = Exit)
[Link](row = 0, column = 6, padx = 10, pady = 10)
information()
root = Tk()
obj = Std_info(root)
[Link]()
[Link] Report
class Fee():
def __init__(self, master):
[Link] = master
[Link]('Fee Report')
[Link]('1350x750')
[Link](bg='Navajo white')
#
==================================================Variables========================
=========================
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = DoubleVar()
[Link] = DoubleVar()
[Link] = DoubleVar()
#
==================================================Functions========================
=========================
def Tuple(event):
try:
global st
index = [Link]()[0]
st = [Link](index)
self.recpt_entry.delete(0, END)
self.recpt_entry.insert(END, st[1])
self.name_entry.delete(0, END)
self.name_entry.insert(END, st[2])
self.admsn_entry.delete(0, END)
self.admsn_entry.insert(END, st[3])
self.Date_entry.delete(0, END)
self.Date_entry.insert(END, st[4])
self.branch_entry.delete(0, END)
self.branch_entry.insert(END, st[5])
self.sem_entry.delete(0, END)
self.sem_entry.insert(END, st[6])
self.total_entry.delete(0, END)
self.total_entry.insert(END, st[7])
self.paid_entry.delete(0, END)
self.paid_entry.insert(END, st[8])
self.due_entry.delete(0, END)
self.due_entry.insert(END, st[9])
except IndexError:
pass
def Insert():
if (len([Link]()) != 0):
Fee_Backend.insert([Link](), [Link](),
[Link](), [Link](),
[Link](), [Link](),
[Link](), [Link](),
[Link]())
[Link](0, END)
[Link](END, ([Link](), [Link](),
[Link](), [Link](),
[Link](), [Link](),
[Link](), [Link](),
[Link]()))
def View():
[Link](0, END)
for row in Fee_Backend.view():
[Link](END, row, str(' '))
def Reset():
[Link](' ')
[Link](' ')
[Link](' ')
#[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link]('1.0', END)
[Link](0, END)
def Delete():
Fee_Backend.delete(st[0])
Reset()
View()
def Receipt():
[Link]('1.0', END)
[Link](END, '\t\tRECEIPT' + '\n\n')
[Link](
END, '\tReceipt No.\t :' + [Link]() + '\n')
[Link](END, '\tStudent Name :' +
[Link]() + '\n')
[Link](END, '\tAdmission No.\t:' +
[Link]() + '\n')
[Link](
END, '\tDate\t :' + [Link]() + '\n')
[Link](
END, '\tBranch\t :' + [Link]() + '\n')
[Link](
END, '\tSemester \t :' + [Link]() + '\n\n')
x1 = (self.var_1.get())
x2 = ([Link]())
x3 = (x1 - x2)
[Link](x3)
def Search():
[Link](0, END)
for row in Fee_Backend.search([Link](), [Link](),
[Link](), [Link](),
[Link](), [Link](),
[Link](), [Link](),
[Link]()):
[Link](END, row, str(' '))
def Update():
Fee_Backend.delete(st[0])
Insert()
def Exit():
Exit = [Link](
'Attention', 'Confirm, if you want to Exit')
if Exit > 0:
[Link]()
return
#
==================================================Frames===========================
========================
Main_Frame = Frame([Link], bg='Navajo white')
Main_Frame.grid()
Title_Frame = LabelFrame(
Main_Frame, width=1350, height=100, bg='Navajo white', relief='ridge',
bd=15)
Title_Frame.pack(side=TOP)
#
===================================================Labels==========================
======================
self.recpt_label = Label(Frame_1, text='Receipt No. : ', font=(
'arial', 14, 'bold'), bg='Navajo white')
self.recpt_label.grid(row=0, column=0, padx=15, sticky=W)
#
==================================================Entries==========================
=======================
self.var_1 = DoubleVar(Frame_1, value='36265')
d1 = [Link]()
[Link](d1)
#
==================================================Frame_2==========================
=======================
[Link] = Text(Frame_2, width=42, height=12,
font=('arial', 14, 'bold'))
[Link](row=0, column=0, padx=3)
#
==================================================Buttons==========================
=======================
btnSave = Button(Button_Frame, text='SAVE', font=(
'arial', 14, 'bold'), width=10, command=Insert)
[Link](row=0, column=0, padx=5, pady=5)
root = Tk()
obj = Fee(root)
[Link]()
4. Library System
class Library:
#===================================================Variables======================
=============================
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
[Link] = StringVar()
#================================================Functions=========================
=============================
def BookRec(event):
try:
global selected_tuple
index = self.Listbox_2.curselection()[0]
selected_tuple = self.Listbox_2.get(index)
self.Entry_0.delete(0, END)
self.Entry_0.insert(END, selected_tuple[1])
self.Entry_1.delete(0, END)
self.Entry_1.insert(END, selected_tuple[2])
self.Entry_2.delete(0, END)
self.Entry_2.insert(END, selected_tuple[3])
self.Entry_3.delete(0, END)
self.Entry_3.insert(END, selected_tuple[4])
self.Entry_4.delete(0, END)
self.Entry_4.insert(END, selected_tuple[5])
self.Entry_5.delete(0, END)
self.Entry_5.insert(END, selected_tuple[6])
self.Entry_6.delete(0, END)
self.Entry_6.insert(END, selected_tuple[7])
self.Entry_7.delete(0, END)
self.Entry_7.insert(END, selected_tuple[8])
self.Entry_8.delete(0, END)
self.Entry_8.insert(END, selected_tuple[9])
self.Entry_9.delete(0, END)
self.Entry_9.insert(END, selected_tuple[10])
self.Entry_10.delete(0, END)
self.Entry_10.insert(END, selected_tuple[11])
self.Entry_11.delete(0, END)
self.Entry_11.insert(END, selected_tuple[12])
self.Entry_12.delete(0, END)
self.Entry_12.insert(END, selected_tuple[13])
except IndexError:
pass
def Insert():
if(len([Link]()) != 0):
Library_Backend.insert([Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link]())
self.Listbox_2.delete(0, END)
self.Listbox_2.insert(END , ([Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link]()))
def Display():
self.Listbox_2.delete(0, END)
for row in Library_Backend.view():
self.Listbox_2.insert(END, row, str(' '))
def Exit():
Exit = [Link]('Library Management
System','Confirm if you want to Exit')
if Exit > 0:
[Link]()
return
def Reset():
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('')
[Link]('1.0',END)
self.Listbox_2.delete(0, END)
def Delete():
Library_Backend.delete(selected_tuple[0])
Reset()
Display()
def Update():
Library_Backend.delete(selected_tuple[0])
Library_Backend.insert([Link](), [Link](),
[Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link]())
self.Listbox_2.delete(0, END)
self.Listbox_2.insert(END,([Link](), [Link](),
[Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link]()))
def Search():
self.Listbox_2.delete(0, END)
for row in Library_Backend.search([Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link](),
[Link](), [Link](), [Link]()\
, [Link]()):
self.Listbox_2.insert(END, row, str(' '))
def Details():
[Link]('1.0',END)
[Link](END, 'Book ID: ' + [Link]() + '\n')
[Link](END, 'Title: ' + [Link]() + '\n')
[Link](END, 'Author: ' + [Link]() +
'\n')
[Link](END, 'Edition: ' + [Link]() + '\n')
[Link](END, 'Year of Publision: \t' +
[Link]() + '\n')
[Link](END, 'Date Borrowed: ' + [Link]()
+ '\n')
[Link](END, 'Date Due:' + [Link]() + '\n')
[Link](END, 'Days in Loan: ' + [Link]() +
'\n')
#=====================================================Frames=======================
==============================
Main_Frame = Frame([Link], bg = 'navajowhite')
Main_Frame.grid()
#================================================Labels============================
============================
self.Label_1 = Label(Frame_1, text = 'Member type', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_1.grid(row = 0, column = 0, sticky = W)
self.Label_2 = Label(Frame_1, text = 'Reference No.', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_2.grid(row = 1, column = 0, sticky = W)
self.Label_3 = Label(Frame_1, text = 'First Name', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_3.grid(row = 2, column = 0, sticky = W)
self.Label_4 = Label(Frame_1, text = 'Surname', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_4.grid(row = 3, column = 0, sticky = W)
self.Label_5 = Label(Frame_1, text = 'Address', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_5.grid(row = 4, column = 0, sticky = W)
self.Label_6 = Label(Frame_1, text = 'Post Code', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_6.grid(row = 5, column = 0, sticky = W)
self.Label_7 = Label(Frame_1, text = 'Mobile No.', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_7.grid(row = 6, column = 0, sticky = W)
self.Label_8 = Label(Frame_1, text = 'Book ID', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_8.grid(row = 0, column = 2, sticky = W)
self.Label_9 = Label(Frame_1, text = 'Book Title', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_9.grid(row = 1, column = 2, sticky = W)
self.Label_10 = Label(Frame_1, text = 'Author', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_10.grid(row = 2, column = 2, sticky = W)
self.Label_11 = Label(Frame_1, text = 'Date Borrowed', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_11.grid(row = 3, column = 2, sticky = W)
self.Label_13 = Label(Frame_1, text = 'Date Due', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_13.grid(row = 4, column = 2, sticky = W)
self.Label_13 = Label(Frame_1, text = 'Days in Loan', font =
('arial',13,'bold'), pady = 2, \
bg = 'navajowhite' )
self.Label_13.grid(row = 5, column = 2, sticky = W)
#================================================Entries===========================
=============================
self.Entry_0 = [Link](Frame_1, values = ('
','Student','Faculty','Staff Member'), \
font = ('arial',13,'bold'), width = 23,
textvariable = [Link] )
self.Entry_0.grid(row = 0, column = 1)
self.Entry_1 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link] )
self.Entry_1.grid(row = 1, column = 1, padx = 15)
self.Entry_2 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_2.grid(row = 2, column = 1, padx = 15)
self.Entry_3 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_3.grid(row = 3, column = 1, padx = 15)
self.Entry_4 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_4.grid(row = 4, column = 1, padx = 15)
self.Entry_5 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_5.grid(row = 5, column = 1, padx = 15)
self.Entry_6 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_6.grid(row = 6, column = 1, padx = 15)
self.Entry_7 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_7.grid(row = 0, column = 4, padx = 15)
self.Entry_8 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_8.grid(row = 1, column = 4, padx = 15)
self.Entry_9 = Entry(Frame_1, font = ('arial',13,'bold'), width = 25,
textvariable = [Link])
self.Entry_9.grid(row = 2, column = 4, padx = 15)
self.Entry_10 = Entry(Frame_1, font = ('arial',13,'bold'), width =
25, textvariable = [Link])
self.Entry_10.grid(row = 3, column = 4, padx = 15)
self.Entry_11 = Entry(Frame_1, font = ('arial',13,'bold'), width =
25, textvariable = [Link])
self.Entry_11.grid(row = 4, column = 4, padx = 15)
self.Entry_12 = Entry(Frame_1, font = ('arial',13,'bold'), width =
25, textvariable = [Link])
self.Entry_12.grid(row = 5, column = 4, padx = 15)
#=============================================Widgets==============================
===========================
[Link] = Text(Frame_2, font = ('arial',13,'bold'), width = 28,
height = 11)
[Link](row = 0, column = 2)
if (v == ' C'):
[Link]('ISBN 525341')
[Link]('Programming using C')
[Link]('Yashwant Kanetkar')
[Link]('2019')
[Link]('5th')
import datetime
d1 = [Link]()
d2 = [Link](days = 14)
d3 = (d1 + d2)
[Link](d1)
[Link]('14')
[Link](d3)
Details()
elif (v == ' C++'):
[Link]('ISBN 345687')
[Link]('Programming using C++')
[Link]('Yashwant Kanetkar')
[Link]('2019')
[Link]('4th')
import datetime
d1 = [Link]()
d2 = [Link](days = 10)
d3 = (d1 + d2)
[Link](d1)
[Link]('10')
[Link](d3)
Details()
elif (v == ' Java'):
[Link]('ISBN 643842')
[Link]('Java Programming')
[Link]('Joshua Bloch')
[Link]('2019')
[Link]('7th')
import datetime
d1 = [Link]()
d2 = [Link](days = 13)
d3 = (d1 + d2)
[Link](d1)
[Link]('13')
[Link](d3)
Details()
elif (v == ' Python'):
[Link]('ISBN 564524')
[Link]('Python Programming')
[Link]('John Zelle')
[Link]('2019')
[Link]('3rd')
import datetime
d1 = [Link]()
d2 = [Link](days = 13)
d3 = (d1 + d2)
[Link](d1)
[Link]('13')
[Link](d3)
Details()
elif (v == ' PHP'):
[Link]('ISBN 735893')
[Link]('PHP Programming')
[Link]('Alan Forbes')
[Link]('2019')
[Link]('5th')
import datetime
d1 = [Link]()
d2 = [Link](days = 15)
d3 = (d1 + d2)
[Link](d1)
[Link]('15')
[Link](d3)
Details()
elif (v == ' Java Script'):
[Link]('ISBN 643842')
[Link]('Java Script Programming')
[Link]('Jon Duckett.')
[Link]('2019')
[Link]('4th')
import datetime
d1 = [Link]()
d2 = [Link](days = 13)
d3 = (d1 + d2)
[Link](d1)
[Link]('13')
[Link](d3)
Details()
elif (v == ' My SQL'):
[Link]('ISBN 649635')
[Link]('My SQL Programming')
[Link]('Groff James')
[Link]('2019')
[Link]('3rd')
import datetime
d1 = [Link]()
d2 = [Link](days = 20)
d3 = (d1 + d2)
[Link](d1)
[Link]('20')
[Link](d3)
Details()
elif (v == ' Data Structure'):
[Link]('ISBN 531588')
[Link]('Data Structure')
[Link]('Karumanchi Narasimha')
[Link]('2019')
[Link]('5th')
import datetime
d1 = [Link]()
d2 = [Link](days = 11)
d3 = (d1 + d2)
[Link](d1)
[Link]('11')
[Link](d3)
Details()
elif (v == ' Linux'):
[Link]('ISBN 356853')
[Link]('Linux Administration')
[Link]('SOYINKA')
[Link]('2019')
[Link]('1st')
import datetime
d1 = [Link]()
d2 = [Link](days = 6)
d3 = (d1 + d2)
[Link](d1)
[Link]('6')
[Link](d3)
Details()
elif (v == ' Operating System'):
[Link]('ISBN 536453')
[Link]('OS Concepts ')
[Link]('Silberschatz Abraham')
[Link]('2019')
[Link]('4th')
import datetime
d1 = [Link]()
d2 = [Link](days = 12)
d3 = (d1 + d2)
[Link](d1)
[Link]('12')
[Link](d3)
Details()
elif (v == ' Web Developement'):
[Link]('ISBN 543548')
[Link]('Web Developement ')
[Link]('Paul McFedries')
[Link]('2019')
[Link]('3rd')
import datetime
d1 = [Link]()
d2 = [Link](days = 15)
d3 = (d1 + d2)
[Link](d1)
[Link]('15')
[Link](d3)
Details()
elif (v == ' Data Science'):
[Link]('ISBN 835764')
[Link]('Data Science Concept ')
[Link]('David Stephenson')
[Link]('2019')
[Link]('3rd')
import datetime
d1 = [Link]()
d2 = [Link](days = 15)
d3 = (d1 + d2)
[Link](d1)
[Link]('15')
[Link](d3)
Details()
elif (v == ' Algorithms'):
[Link]('ISBN 535674')
[Link]('Basics of Algorithm ')
[Link]('Karumanchi Narasimha')
[Link]('2019')
[Link]('7th')
import datetime
d1 = [Link]()
d2 = [Link](days = 10)
d3 = (d1 + d2)
[Link](d1)
[Link]('10')
[Link](d3)
Details()
elif (v == ' Android'):
[Link]('ISBN 356452')
[Link]('Android Programming')
[Link]('Harwani B. M')
[Link]('2019')
[Link]('4th')
import datetime
d1 = [Link]()
d2 = [Link](days = 9)
d3 = (d1 + d2)
[Link](d1)
[Link]('9')
[Link](d3)
Details()
sb_2 = Scrollbar(Detail_Frame)
sb_2.grid(row = 1, column = 1, sticky = 'ns')
#=============================================Buttons==============================
===========================
Button_1 = Button(Button_Frame, text = 'SAVE', font =
('arial',15,'bold'), width = 10, command = Insert)
Button_1.grid(row = 0, column = 0, padx = 8, pady = 5)
Button_2 = Button(Button_Frame, text = 'DISPLAY', font =
('arial',15,'bold'), width = 10, command = Display)
Button_2.grid(row = 0, column = 1, padx = 8)
Button_3 = Button(Button_Frame, text = 'RESET', font =
('arial',15,'bold'), width = 10, command = Reset)
Button_3.grid(row = 0, column = 2, padx = 8)
Button_4 = Button(Button_Frame, text = 'UPDATE', font =
('arial',15,'bold'), width = 10, command = Update)
Button_4.grid(row = 0, column = 3, padx = 8)
Button_5 = Button(Button_Frame, text = 'SEARCH', font =
('arial',15,'bold'), width = 10, command = Search)
Button_5.grid(row = 0, column = 4, padx = 8)
Button_6 = Button(Button_Frame, text = 'DELETE', font =
('arial',15,'bold'), width = 10, command = Delete)
Button_6.grid(row = 0, column = 5, padx = 8)
Button_7 = Button(Button_Frame, text = 'EXIT', font =
('arial',15,'bold'), width = 10, command = Exit)
Button_7.grid(row = 0, column = 6, padx = 8)
if __name__ == '__main__':
root = Tk()
applicaton = Library(root)
[Link]()
5 . Marksheet
def marksheet():
root = Tk()
[Link]('Marksheet')
[Link]('1350x750')
[Link](bg = 'Navajo white')
#================================================Variables=========================
=============================
name = StringVar()
roll = StringVar()
fname = StringVar()
mname = StringVar()
DOB = StringVar()
gender = StringVar()
scl = StringVar()
email = StringVar()
m1 = DoubleVar()
m2 = DoubleVar()
m3 = DoubleVar()
m4 = DoubleVar()
m5 = DoubleVar()
gt = DoubleVar()
per = DoubleVar()
cgpa = DoubleVar()
grade = StringVar()
div = StringVar()
result = StringVar()
#==============================================Functions===========================
===============================
def Add():
if (len([Link]()) != 0):
Marksheet_Backend.insert([Link](),[Link](),[Link](),[Link](),[Link](),ge
[Link](), \
[Link](),[Link](),[Link](),[Link](),[Link](),[Link](),[Link](), \
[Link](),[Link](),[Link](),[Link](),[Link](),[Link]())
def Update():
if (len([Link]()) != 0):
Marksheet_Backend.update([Link](),[Link](),[Link](),[Link](),[Link](),ge
[Link](), \
[Link](),[Link](),[Link](),[Link](),[Link](),[Link](),[Link](), \
[Link](),[Link](),[Link](),[Link](),[Link](),[Link]())
def Exit():
Exit = [Link]('Marksheet','Confirm if you want
to Exit')
if Exit > 0:
[Link]()
return
def Compute():
x1 = ([Link]()); x2 = ([Link]()); x3 = ([Link]()); x4 =
([Link]()); x5 = ([Link]())
if x1 > 100:
[Link]('Attention','Please enter
Correct Marks')
return
if x2 > 100:
[Link]('Attention','Please enter
Correct Marks')
return
if x3 > 100:
[Link]('Attention','Please enter
Correct Marks')
return
if x4 > 100:
[Link]('Attention','Please enter
Correct Marks')
return
if x5 > 100:
[Link]('Attention','Please enter
Correct Marks')
return
tot = x1+x2+x3+x4+x5
[Link](tot)
if cg > 10:
[Link](10)
if (((x1+x2+x3+x4+x5) * 100)/500) <= 40:
grd = 'G'
elif (((x1+x2+x3+x4+x5) * 100)/500) <= 50:
grd = 'F'
elif (((x1+x2+x3+x4+x5) * 100)/500) <= 60:
grd = 'E'
elif (((x1+x2+x3+x4+x5) * 100)/500) <= 70:
grd = 'D'
elif (((x1+x2+x3+x4+x5) * 100)/500) <= 80:
grd = 'C'
elif (((x1+x2+x3+x4+x5) * 100)/500) <= 90:
grd = 'B'
else:
grd = 'A'
[Link](grd)
count = 0
if x1 < 33:
count = count + 1
if x2 < 33:
count = count + 1
if x3 < 33:
count = count + 1
if x4 < 33:
count = count + 1
if x5 < 33:
count = count + 1
if (count == 0):
[Link]('PASS')
elif (count == 1 or count == 2 ):
[Link]('SUPPLY')
else:
[Link]('FAIL')
def Reset():
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
[Link](' ')
#========================================================Frame_1===================
============================================
Frame_1 = LabelFrame(root, width = 1200, height = 400, font =
('arial',20,'bold'), bg = 'Navajo white', bd = 10, \
text = 'Student Details', relief = 'ridge')
Frame_1.grid(row = 1, column = 0, pady = 20, padx = 20)
#======================================================Labels of
Frame_2===========================================================
#======================================================Entries of
Frame_2===========================================================
var_1 = StringVar(Frame_2, value = '33')
var_2 = StringVar(Frame_2, value = '100')
var_3 = StringVar(Frame_2, value = '500')
Entry__1 = Entry(Frame_2, font = ('arial',16), width = 5, textvariable = m1)
Entry__1.grid(row = 4, column = 1)
Entry__2 = Entry(Frame_2, font = ('arial',16), width = 5, textvariable = m2)
Entry__2.grid(row = 5, column = 1)
Entry__3 = Entry(Frame_2, font = ('arial',16), width = 5, textvariable = m3)
Entry__3.grid(row = 6, column = 1)
Entry__4 = Entry(Frame_2, font = ('arial',16), width = 5, textvariable = m4)
Entry__4.grid(row = 7, column = 1)
Entry__5 = Entry(Frame_2, font = ('arial',16), width = 5, textvariable = m5)
Entry__5.grid(row = 8, column = 1)
Entry__6 = Entry(Frame_2, font = ('arial',14), width = 5, textvariable = gt,
state = 'readonly')
Entry__6.grid(row = 9, column = 1, pady = 8)
Entry__7 = Entry(Frame_2, font = ('arial',14,'bold'), width = 5,
textvariable = per, state = 'readonly')
Entry__7.grid(row = 10, column = 1, pady = 8)
Entry__8 = Entry(Frame_2, font = ('arial',14,'bold'), width = 5,
textvariable = cgpa, state = 'readonly')
Entry__8.grid(row = 10, column = 3, pady = 8)
Entry__9 = Entry(Frame_2, font = ('arial',14,'bold'), width = 5,
textvariable = grade, state = 'readonly')
Entry__9.grid(row = 10, column = 5, padx = 20, pady = 8)
Entry__10 = Entry(Frame_2, font = ('arial',14,'bold'), width = 8,
textvariable = div, state = 'readonly')
Entry__10.grid(row = 11, column = 1, padx = 20, pady = 8)
Entry__11 = Entry(Frame_2, font = ('arial',14,'bold'), width = 7,
textvariable = result, state = 'readonly')
Entry__11.grid(row = 11, column = 3, padx = 20, pady = 8)
#======================================================Buttons=====================
======================================
Btn_Compute = Button(Frame_2, text = 'COMPUTE', font = ('arial',12,'bold'),
width = 10, command = Compute)
Btn_Compute.grid(row = 4, column = 4, padx = 50, pady = 6)
Btn_Save = Button(Frame_2, text = 'SAVE', font = ('arial',12,'bold'), width
= 10, command = Add)
Btn_Save.grid(row = 5, column = 4, padx = 50, pady = 6)
Btn_Update = Button(Frame_2, text = 'UPDATE', font = ('arial',12,'bold'),
width = 10, command = Update)
Btn_Update.grid(row = 6, column = 4, padx = 50, pady = 6)
Btn_Cancel = Button(Frame_2, text = 'RESET', font = ('arial',12,'bold'),
width = 10, command = Reset)
Btn_Cancel.grid(row = 7, column = 4, padx = 50, pady = 6)
Btn_Exit = Button(Frame_2, text = 'EXIT', font = ('arial',12,'bold'), width
= 10, command = Exit)
Btn_Exit.grid(row = 8, column = 4, padx = 50, pady = 6)
[Link]()
def search_result_marksheet(row):
root = Tk()
[Link]('Marksheet')
[Link]('1350x750')
[Link](bg = 'Navajo white')
#==============================================Functions===========================
===============================
def Compute():
x1 = ([Link]()); x2 = ([Link]()); x3 = ([Link]()); x4 =
([Link]()); x5 = ([Link]())
tot = x1+x2+x3+x4+x5
[Link](tot)
[Link](grd)
count = 0
if x1 < 33:
count = count + 1
if x2 < 33:
count = count + 1
if x3 < 33:
count = count + 1
if x4 < 33:
count = count + 1
if x5 < 33:
count = count + 1
if (count == 0):
[Link]('PASS')
elif (count == 1 or count == 2 ):
[Link]('SUPPLY')
else:
[Link]('FAIL')
#========================================================Frame_1===================
============================================
name = StringVar(Frame_1,value=row[0][1])
roll = StringVar(Frame_1,value=row[0][2])
fname = StringVar(Frame_1,value=row[0][3])
mname = StringVar(Frame_1,value=row[0][4])
DOB = StringVar(Frame_1,value=row[0][5])
gender = StringVar(Frame_1,value=row[0][6])
scl = StringVar(Frame_1,value=row[0][7])
email = StringVar(Frame_1,value=row[0][8])
#========================================================Frame_2===================
===============================================
Frame_2 = LabelFrame(root, width = 1200, height = 400, font =
('arial',20,'bold'), bg = 'Navajo white', bd = 10 \
, text = 'Grades Point Obtained', relief = 'ridge')
Frame_2.grid(row = 3, column = 0)
m1 = DoubleVar(Frame_2,row[0][9])
m2 = DoubleVar(Frame_2,row[0][10])
m3 = DoubleVar(Frame_2,row[0][11])
m4 = DoubleVar(Frame_2,row[0][12])
m5 = DoubleVar(Frame_2,row[0][13])
gt = DoubleVar(Frame_2,row[0][14])
per = DoubleVar(Frame_2,row[0][15])
cgpa = DoubleVar(Frame_2,row[0][16])
grade = StringVar(Frame_2,row[0][17])
div = StringVar(Frame_2,row[0][18])
result = StringVar(Frame_2,row[0][19])
#======================================================Labels of
Frame_2===========================================================
#======================================================Entries of
Frame_2===========================================================
var_1 = StringVar(Frame_2, value = '33')
var_2 = StringVar(Frame_2, value = '100')
var_3 = StringVar(Frame_2, value = '500')
#======================================================Buttons=====================
======================================
[Link]()
if __name__ == '__main__':
marksheet()
b. Screenshots:-
1. Menu
2. Student Profile
3. Fee Report
[Link] System
5 Marksheet