Vailankanni Public School
Rayakottai Road ,Krishnagiri
Session:2019-2020
A Project Report On
Student Management System
Submitted By
Sai Nithin . J
Class : XII A
Board Registration No:
Under the Guidance of
Mrs. Imayarasi Sathyaseelan MCA , [Link](CS)
Department of Computer Science
Teacher In-Charge Principal
Vailankanni Public School
Krishnagiri
Session:2019-2020
CERTIFICATE
This is to certify that Sai Nithin . J
of Class XII A has prepared the record on the
Project entitled
" Student Management System "
The report is the result of his/her efforts & endeavors.
The report is found worthy of acceptance as final project
report for the subject
Computer Science (New) Code No:083
of Class XII - A.
He/She has prepared the report under my guidance.
HOD - Computer Science
Department of Computer Science
Vailankanni Public School
Krishnagiri
CERTIFICATE
The project report entitled
" Student Management System ",
Submitted by Sai Nithin . J
of Class XII A for the CBSE Senior Secondary
Practical Examination of Computer Science been
jointly examined by us.
Signature Of Internal Signature Of External
(Imayarasi.S) Examiner No:
ACKNOWLEDGEMENT
I would like to express a deep sense of thanks gratitude
my project guide Mrs. Imayarasi Sathyaseelan PGT
for guiding me immensely through the course of the
project. She always evinced keen interest in my work.
Her constructive advice & constant motivation have been
responsible for the successful completion of this project.
I also thank my parents for their motivation &support.
I would like to thank my classmates for their timely help
& support for the completion of this project.
Last but not the least, I would like to thank all those who
had helped directly or indirectly towards the completion
of this project.
Karishma Taj Y.A
Class : XII A
Index
1. About Python
2. About Bank Management System
3. Hierarchical Diagram
4. Required as input
5. Hardware and Software requirement
6. Project Listing
7. Output Screens
8. Reference
About Python
Python is one of those rare languages which can claim to be
both simple and powerful. You will find yourself pleasantly
surprised to see how easy it is to concentrate on the solution to
the problem rather than the syntax and structure of the
language you are programming in.
Guido van Rossum, the creator of the Python language, named
the language after the BBC show "Monty Python's Flying
Circus". He doesn't particularly like snakes that kill animals for
food by winding their long bodies around them and crushing
them.
The official introduction to Python is:
Python is an easy to learn, powerful programming language. It
has efficient high-level data structures and a simple but
effective approach to object-oriented programming. Python's
elegant syntax and dynamic typing, together with its
interpreted nature, make it an ideal language for scripting and
rapid application development in many areas on most
platforms.
About Text Editor
The application is built using python library Tkinter. For creating
graphic user interface (GUI) on Python we need to use Tkinter
library. We are also having different packages and approaches for
creating GUI like QT for Software Development and Django, Flask for
Web app development. Here we choose Tkinter because it provides a
very quick and easy way to create basic GUI applications.
Install Tkinter package and Import Tkinter library
Create main application window for GUI
Add required widgets to GUI
Enter event loop to trigger action against every specified event
Flow chart
Objectives:
● Tkinter interface for Text editor
● Basic text editor tasks like cursor,line number
● File handling to manage the text files
● Different icons for cut,copy,info,find_text,new file,open file
● Line numbers and column number display at the bottom.
Hardware and Software requirement
Hardware required
64 MB RAM
Pentum-1 and Above Processor
Mouse
Keyboard
Software Requirement
Operating System – Windows or any other supported
Python 3.7
Project Listing
from tkinter import *
from tkinter import filedialog,simpledialog
from [Link] import ScrolledText
from tkinter import messagebox
from [Link] import *
import re
root = Tk()
[Link]('Text Editor')
#scrollable text
textPad = ScrolledText(root, width=100, height=50)
filename = ''
#functions
def newFile():
global filename
if len([Link]('1.0',END+'-1c'))>0:
if [Link]("SAVE","Do you want to save?"):
saveFile()
else:
[Link](0.0,END)
[Link]("TEXT EDITOR")
def saveFile():
f = [Link](mode='w',defaultextension='.txt')
if f!= None:
data = [Link]('1.0',END)
try:
[Link](data)
except:
[Link](title="Oops!!",message="Unable to save file!")
def saveAs():
f = [Link](mode='w',defaultextension='.txt')
t = [Link](0.0,END)
try:
[Link]([Link]())
except:
[Link](title="Oops!!",message="Unable to save file!")
def openFile():
f = [Link](parent=root,mode='r')
t = [Link]()
[Link](0.0,END)
[Link](0.0,t)
def about_command():
label = [Link]("About", "Just Another TextPad \n Copyright
\n No rights left to reserve")
def handle_click(event):
textPad.tag_config('Found',background='white',foreground='grey')
def find_pattern():
textPad.tag_remove("Found",'1.0',END)
find = [Link]("Find....","Enter text:")
if find:
idx = '1.0'
while 1:
idx = [Link](find,idx,nocase=1,stopindex=END)
if not idx:
break
lastidx = '%s+%dc' %(idx,len(find))
textPad.tag_add('Found',idx,lastidx)
idx = lastidx
textPad.tag_config('Found',foreground='white',background='black')
[Link]("<1>",handle_click)
'''
t = [Link]('1.0',END)
occurance = [Link]().count([Link]())
if occurance > 0:
label = [Link]("Find",find+" has multiple occurances
"+str(occurance))
else:
label = [Link]("Find","No results")
'''
def printme():
label = [Link]("Text","Welcome to text editor")
def exit_command():
if [Link]("Exit","Are you sure you want to exit?"):
[Link]()
#creating menu
menuM = Menu(root)
[Link](menu=menuM)
fileM = Menu(menuM)
menuM.add_cascade(label='File',menu=fileM)
fileM.add_command(label='New',command=newFile)
fileM.add_command(label='Open',command=openFile)
fileM.add_command(label='Save',command=saveFile)
fileM.add_command(label='Save As...',command=saveAs)
fileM.add_separator()
fileM.add_command(label='Exit',command=exit_command)
editM = Menu(menuM)
menuM.add_cascade(label='Edit',menu=editM)
editM.add_command(label='Undo')
editM.add_command(label='Redo')
editM.add_command(label='Cut')
editM.add_command(label='Copy')
editM.add_command(label='Paste')
viewM = Menu(menuM)
menuM.add_cascade(label='View',menu=viewM)
viewM.add_command(label='Text',command=printme)
aboutM = Menu(menuM)
menuM.add_cascade(label='About',menu=aboutM)
aboutM.add_command(label='About',command = about_command)
findM = Menu(menuM)
menuM.add_cascade(label='Find',menu=findM)
findM.add_command(label='Find',command = find_pattern)
#adding icons
'''
frame1=Frame(root)
[Link]()
Image1 = PhotoImage(file='new_file.gif')
l1 = Label(frame1,text='New file')
b1 = Button(frame1,image= Image1,command=newFile)
[Link](row=0,column=0)
[Link](row=1,column=0)
Image2 = PhotoImage(file='open_file.gif')
b2 = Button(frame1,image=Image2,command=openFile)
l2 = Label(frame1,text='Open file')
[Link](row=0,column=1)
[Link](row=1,column=1)
Image5 = PhotoImage(file='[Link]')
b5 = Button(frame1,image=Image5,command=saveAs)
l5 = Label(frame1,text='Save')
[Link](row=0,column=2)
[Link](row=1,column=2)
Image6 = PhotoImage(file='[Link]')
b6 = Button(frame1,image=Image6,command=about_command)
l6 = Label(frame1,text='About')
[Link](row=0,column=3)
[Link](row=1,column=3)
Image7 = PhotoImage(file='find_text.gif')
b7 = Button(frame1,image=Image7,command=find_pattern)
l7 = Label(frame1,text='Find text')
[Link](row=0,column=4)
[Link](row=1,column=4)
'''
[Link]()
[Link]()
Output Screens
Reference
[Link] science
[Link] Sumita Arora
[Link] Preethi Arora
[Link] reference
[Link]
[Link]
[Link]