PDEA’S
INSTITUTE OF TECHNOLOGY
HADAPSAR, PUNE-28
DEPARTMENT OF COMPUTER ENGINEERING
THIRD YEAR COMPUTER ENGINEERING
SUBJECT: - PROGRAMMING WITH PYTHON (22616)
TOPIC: - TO CRAETE SIMPLE STUDENT MANAGEMENT
SYSTEM PYTHON PROGRAM .
GROUP MEMBRES: -
1. SHREYASH ASHOK PATIL.
2. KURRA LAKSHMI.
GUIDED BY:-
MRS.DUMBRE S.
Annexure-IA
P.D.E.A.’S
INSTITUTE OF TECHNOLOGY
PART A-Plan (About 2-3 Pages)
Format for Micro Project Proposal
REPORT ON:- ‘STUDENT MANAGEMENT SYSTEM
PYTHON PROGRAM’
1.0 Brief Introduction: -
The main function of the system is to register and store student details,
retrieve and these details as and when required, and also to manipulate these
details meaningfully.
2.0 Aim of The Micro project:-
1. To introduce simple student management system.
2. To general purpose programming using python.
3.0 Action Plan:
Sr. Details of Planned start Planned Name of Responsible
No. activity dated finished dated Team Members
1 Finalizing Name
Of Micro Project
Shreyash Patil
2 Defining the
problem
3 Choosing Path
4 Choosing
Instructions Kurra Lakshmi
5 Write a program
6 Execute a
program
7 Testing of the
Micro Project
8 Report Writing
4.0 Resources Required:
Sr.No Name of Specification Quantity Remarks
resources/material
1. Hardware: computer Any computer 01
system system with basic
configuration
2. Software Python interpreter/ 01
VS.code
Annexure -IIA
P.D.E.A.’S
INSTITUTE OF TECHNOLOGY
PART B -Plan (Outcomes After Execution)
Format for Micro Project Report
REPORT ON:- “STUDENT MANAGEMENT SYSTEM PYTHON PROGRAM”
1.0 Brief Description:
The main function of the system is to register and store student details,
retrieve and these details as and when required, and also to manipulate
these details meaningfully.
2.0 Aim of Micro Project:
1. To introduce new simple student management system.
2. To general purpose programming using python.
3.0 Course Outcomes Integrated:
A. Display message on screen using python script on VS code.
B. Perform operations on data structures in python.
C. Perform operations on data structure in python.
4.0 Actually Procedure followed:
Sr. Details of activity Planned Planned Name of
No. start dated finished dated Responsible
Team Members
1 Finalizing Name Of Micro Project
2 Collecting information of Micro Shreyash Patil
Project Topic.
3 We analyse the information.
4 After Collecting information we
plan to prepare a report on it.
5 We crossed checked our report by
teacher. Kurra Lakshmi
6 We make changes in our report as
per teacher said.
7 We prepare a report & get print of it.
8 After all these completion we submit
the Micro Project.
5.0 Actual Resources used:
Sr.No Name of Specification Quantity Remarks
resources/material
1. Hardware: computer Any computer 01
system system with basic
configuration
2. Software Python interpreter/ 01
VS code
6.0 Outcomes of the Micro Project:
The Project Report is done.
ANNEXURE II
Evaluation
Sheet for the
Micro Project
Academic Year-2020-2021 Name of Faculty: Mrs. Dumbre S.A
Course: Computer Engineering Course Code: I Semester: VI
Title of the Project:- TO CRAETE SIMPLE STUDENT
MANAGEMENT SYSTEM PYTHON PROGRAM.
COs addressed by the Micro Project:
A. Display message on screen using python script on VS code.
B. Perform operations on data structures in python.
C. Perform operations on data structure in python.
D. Design classes for given problem.
Major Learning Outcomes achieved by students by doing the Project:
Unit Outcomes in Cognitive domain –
UO3, UO4, UO5.
Comments/Suggestions about tea m work/leadership/inter-personal
communication (if any)- Nil
Roll Student Name Marks out of for Marks out of 4 for Total
No. performance in performance in oral I out
presentation of 10
group activity (D5 Col. 9)
31 Shreyash Patil
32 Kurra lakshmi
(Name & Signature of faculty)
INDEX
Sr. No. Contents
1 Abstract
2 Acknowledgement
3 Introduction
4 Program
5 Output
6 Conclusion
7 Reference
ABSTRACT
Simple Student Management System project is written in Python. The
project file contains a python script (student.py). This is a simple console based
system which is very easy to understand and use. Talking about the system, it
contains basic functions which include Add students, view students, search
students and remove the student. In this mini project, there is no such login
system. This means he/she can use all those available features easily without any
restriction. It is too easy to use, he/she can check the total student’s record.
Our project Student Management system includes ‘computerized the
process. Our software has the facility to give a unique id for every student and
stores the details of every number. The data can be retrieved easily. The
interface is very User-friendly. The data are well protected for personal use and
makes the data processing very fast.
ACKNOWLEDGMENT
The success and final outcome of this project required a lot of guidance and
assistance from many people and We extremely privileged to have got this
all along the completion of my project. All that we have done is only due to
such supervision andassistance and We would not forget to thank them.
We respect and thank Mrs.Dumbre S.A for providing me an opportunity to
do the project work & giving us all support andguidance which made me
complete the project. We are extremely thankful to Dumbre Madam for
providing such a nice support and guidance, although he had busy schedule
managing the corporate affairs.
We heartily thank our internal project guide, Dumbre Ma’am. Computer
Department for her guidance and suggestions during this project work.
INTRODUCTION
This project is aimed to automate the student management system. This
project is developed mainly to administrate the student records. The
purpose of the project entitled as to computerize the Front Office
Management of student records in colleges, schools and coaching’s, to
develop software which is user friendly, simple, fast and cost-effective.
Traditionally, it was done manually .The main function of the system is to
register and store student details, retrieve and these details as and when
required, and also to manipulate these details meaningfully
PROGRAM
# Student Management System
"""
Fields :- ['roll', 'name', 'age', 'email', 'phone']
1. Add New Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
"""
import csv
# Define global variables
student_fields = ['roll', 'name', 'age', 'email', 'phone']
student_database = 'students.csv'
def display_menu():
print("--------------------------------------")
print(" Welcome to Student Management System")
print("---------------------------------------")
print("1. Add New Student")
print("2. View Students")
print("3. Search Student")
print("4. Update Student")
print("5. Delete Student")
print("6. Quit")
def add_student():
print("-------------------------")
print("Add Student Information")
print("-------------------------")
global student_fields
global student_database
student_data = []
for field in student_fields:
value = input("Enter " + field + ": ")
student_data.append(value)
with open(student_database, "a", encoding="utf-8") as f:
writer = csv.writer(f)
writer.writerows([student_data])
print("Data saved successfully")
input("Press any key to continue")
return
def view_students():
global student_fields
global student_database
print("--- Student Records ---")
with open(student_database, "r", encoding="utf-8") as f:
reader = csv.reader(f)
for x in student_fields:
print(x, end='\t |')
print("\n-----------------------------------------------------------------")
for row in reader:
for item in row:
print(item, end="\t |")
print("\n")
input("Press any key to continue")
def search_student():
global student_fields
global student_database
print("--- Search Student ---")
roll = input("Enter roll no. to search: ")
with open(student_database, "r", encoding="utf-8") as f:
reader = csv.reader(f)
for row in reader:
if len(row) > 0:
if roll == row[0]:
print("----- Student Found -----")
print("Roll: ", row[0])
print("Name: ", row[1])
print("Age: ", row[2])
print("Email: ", row[3])
print("Phone: ", row[4])
break
else:
print("Roll No. not found in our database")
input("Press any key to continue")
def update_student():
global student_fields
global student_database
print("--- Update Student ---")
roll = input("Enter roll no. to update: ")
index_student = None
updated_data = []
with open(student_database, "r", encoding="utf-8") as f:
reader = csv.reader(f)
counter = 0
for row in reader:
if len(row) > 0:
if roll == row[0]:
index_student = counter
print("Student Found: at index ",index_student)
student_data = []
for field in student_fields:
value = input("Enter " + field + ": ")
student_data.append(value)
updated_data.append(student_data)
else:
updated_data.append(row)
counter += 1
# Check if the record is found or not
if index_student is not None:
with open(student_database, "w", encoding="utf-8") as f:
writer = csv.writer(f)
writer.writerows(updated_data)
else:
print("Roll No. not found in our database")
input("Press any key to continue")
def delete_student():
global student_fields
global student_database
print("--- Delete Student ---")
roll = input("Enter roll no. to delete: ")
student_found = False
updated_data = []
with open(student_database, "r", encoding="utf-8") as f:
reader = csv.reader(f)
counter = 0
for row in reader:
if len(row) > 0:
if roll != row[0]:
updated_data.append(row)
counter += 1
else:
student_found = True
if student_found is True:
with open(student_database, "w", encoding="utf-8") as f:
writer = csv.writer(f)
writer.writerows(updated_data)
print("Roll no. ", roll, "deleted successfully")
else:
print("Roll No. not found in our database")
input("Press any key to continue")
while True:
display_menu()
choice = input("Enter your choice: ")
if choice == '1':
add_student()
elif choice == '2':
view_students()
elif choice == '3':
search_student()
elif choice == '4':
update_student()
elif choice == '5':
delete_student()
else:
break
print("-------------------------------")
print(" Thank you for using our system")
print("-------------------------------")
OUTPUT
PS D:\Python\.vscode> &
C:/Users/shrey/AppData/Local/Programs/Python/Python39/python.exe
d:/Python/.vscode/project.py
--------------------------------------
Welcome to Student Management System
---------------------------------------
1. Add New Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
Enter your choice: 1
-------------------------
Add Student Information
-------------------------
Enter roll: 31
Enter name: Shreyash Patil
Enter age: 21
Enter email: [email protected]
Enter phone: 9130858424
Data saved successfully
Press any key to continue2
--------------------------------------
Welcome to Student Management System
---------------------------------------
1. Add New Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
Enter your choice: 2
--- Student Records ---
roll |name |age |email |phone |
-----------------------------------------------------------------
31 |Shreyash Patil |21 |[email protected] |9130858424 |
Press any key to continue ok
--------------------------------------
Welcome to Student Management System
---------------------------------------
1. Add New Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
Enter your choice: 4
--- Update Student ---
Enter roll no. to update: 32
Roll No. not found in our database
Press any key to continuea
--------------------------------------
Welcome to Student Management System
---------------------------------------
1. Add New Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
Enter your choice: 4
--- Update Student ---
Enter roll no. to update: 31
Student Found: at index 0
Enter roll: 32
Enter name: Kurra Lakshmi
Enter age: 20
Enter email:
[email protected]Enter phone: 9876543210
Press any key to continuea
--------------------------------------
Welcome to Student Management System
---------------------------------------
1. Add New Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Quit
Enter your choice: 6
-------------------------------
Thank you for using our system
-------------------------------
CONCLUSION
Student Management System can be used by educational institutions to
maintain their student records easily. Achieving this objective is difficult using
the manual system as the information is scattered, can be redundant and
collecting relevant information may be very time-consuming.
All these problems are solved by this project. This system helps in maintaining
the information of pupil of the organization. It can be easily accessed by the
manager and kept safe for a long period of time without any changes.
.
REFERENCE
1. https://www.programiz.com/python-programming
2. https://www.geeksforgeeks.org/python-gui-tkinter/
3. https://followtutorials.com/2019/11/simple-student-management-
system-using-python-and-files.html