0% found this document useful (0 votes)
23 views17 pages

Project Report

The document describes a student management system project built in Python. It includes code for classes like Student, Course, and Attending to manage student data and enrollments. The project aims to make faculty and student management easier by automating manual processes.

Uploaded by

Anushka Sah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views17 pages

Project Report

The document describes a student management system project built in Python. It includes code for classes like Student, Course, and Attending to manage student data and enrollments. The project aims to make faculty and student management easier by automating manual processes.

Uploaded by

Anushka Sah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

A Project Report on

Student Management in Python

BACHELOR OF COMPUTER APPLICATION

By

Anushka Sah

AJU/210235

Under the guidance of

Sneha Kashyap

(Assistant Professor)

ARKA JAIN UNIVERSITY

JAMSHEDPUR, JHARKHAND

DEPARTMENT OF COMPUTER SCIENCE & INFORMATION TECHNOLOGY


BONAFIDE CERTIFICATE

This is to certify that the project entitled “Student Management in Python” is


bonafide work of ANUSHKA SAH bearing enrolment Number: AJU/210235
under the guidance of Dean Dr. Arvind Kumar Pandey and Ms. Sneha Kashyap
submitted in partial fulfilment of the requirement for the award of degree in
BACHELOR OF COMPUTER APPLICATION from ARKA JAIN
UNIVERSITY, JHARKHAND during the year 2022 - 2023.

Dr. Arvind Kumar Pandey


Dean
ARKA JAIN UNIVERSITY
Jharkhand
[email protected]
ABSTRACT
Student Management System is software which is help for students as well as
the school authorities. In the current all the activities are done manually. It is
very time consuming and costly. Our Student Management System deals with
the various activities related to the students.

In the Software we register as a user and user has two types, student and
administrator. Administrator has the power to add new user and can edit and
delete a user. A student can register as user and can add edit and delete his
profile. The administrator can add edit and delete marks for the student. All the
users can see the marks.
ACKNOWLEDGEMENT

I would like to express special thanks of gratitude to my guide Mr. Arun


Marandi Sir, who gave me the golden opportunity to do this wonderful project
of computer on Student Management System. Who also help me in completing
my project. I came to know about so many new things I m really thankful to
him.

Secondly, I would also like to thank my parents and friends who helped me a lot
in finalizing this project within the limited time frame.
DECLARATION

I, Anushka Sah, hereby declare that the Project entitled “Student Management System”
done at ARKA JAIN UNIVERSITY has not been in any case duplicated to submit to any
other university for the award of any degree. To the best of my knowledge other than me, no
one has submitted to any other university.

This project is done in partial fulfilment of the requirement for the award of degree of
BACHELOR OF COMPUTER APPLICATION to be submitted as final semester project as
part of our curriculum.

Anushka Sah
AJU/210235
CONTENTS
Title

Specification requirement

Code

Conclusion

References
SPECIFICATION REQUIREMENT

SOFTWARE REQUIREMENT

Operating system : Microsoft window 7


Platform : Python
Application software : MS Office

HARDWARE REQUIREMENT

Processor : Pentium
RAM : 128 MB RAM
Hard Disk : 40 GB Hard disk
CODE

class StudentDAO:

def init (self):

# You set in a try statement so that the user knows why it crashes if there is no file

try:

# This array will hold the list of students in it

studentClassTable = []

with open("students.csv", 'r') as f:

# Read in the student table

studentTable = f.read().split("\n")

for k in studentTable[:-1]:

sList = k.split(",") # break into the three parts, email, name, and pass

firstName = (sList[1].split(" "))[0] #sets the first name

firstName = Models.Student(sList[0], sList[1],

sList[2]) studentClassTable.append(firstName)

except:

print("No student file found")


# Declaring the actual self table here (it didn't like me declaring it eariler)

self.studentList = studentClassTable

def get_students(self):

result = [] # this is the list of students that we'll return

for k in self.studentList:

result.append(k.get_name())

return(result)

def validate_user(self, email, pw):

for k in self.studentList:

if k.get_email() == email: #cycles through the classes to find the right one

if k.get_password() == pw:

return True

else:

return False

def get_student_by_email(self, email):

for tick, k in enumerate(self.studentList):


if k.get_email() == email:

return self.studentList[tick]

print("There is no student with this email")

return False

def add_new_student(self, email, name, password):

newDude = Models.Student(email, name, password)

self.studentList.append(newDude)

self.save_student()

print("You've been added!")

def save_student(self):

# This array will hold the list of students in it

with open("students.csv", 'w') as f:

# Read in the student table

for k in self.studentList:

f.write(k.get_email() + "," + k.get_name() + "," + k.get_password() + "\n")


class CourseDAO:

def init (self):

try:

# This array will hold the list of students in it

courseClassTable = []

with open("courses.csv", 'r') as f:

# Read in the student table

courseTable = f.read().split("\n")

for k in courseTable[:-1]:

sList = k.split(",") # break into the three parts, email, name, and pass

course = Models.Course(sList[0], sList[1], sList[2])

courseClassTable.append(course)

except:

print("No course file found")

# Declaring the actual self table here (it didn't like me declaring it eariler)

self.courseList = courseClassTable
def get_courses(self):

return(self.courseList)

class AttendingDAO:

def init (self):

# You set in a try statement so that the user knows why it crashes if there is no file

try:

# This array will hold the list of students in it

attendingClassTable = []

with open("attending.csv", 'r') as f:

# Read in the student table

attendingTable = f.read().split("\n")

for k in attendingTable[:-1]:

sList = k.split(",") # break into the three parts, email, name, and pass

attending = Models.Attending(sList[0], sList[1])

attendingClassTable.append(attending)

except:

print("No attendance file found")


# Declaring the actual self table here (it didn't like me declaring it eariler)

self.attendingList = attendingClassTable

def get_attending(self):

return(self.attendingList)

def get_student_courses(self, course_list, email):

classesAttending = []

attendingList = self.get_attending()

# get list of course he is attending

for k in attendingList:

if k.student_email == email:

classesAttending.append(k.course_id)

results = []

for k in course_list:

for i in classesAttending:

if k.get_id() == i:
results.append(k)

return(results)

def register_student_to_course(self, email, course_id, course_list):

totalCourses = []

for k in course_list:

totalCourses.append(k.get_id())

if course_id in totalCourses:

flag = True

attendingList = get_attending()

for k in attendingList:

if (k.get_course_id() == course_id) and (k.get_student_email() ==

email): flag = False

if flag == True:

self.attendingList.append(Models.Attending(course_id, email))

print("I've added you to the class")


self.save_attending()

return True

else:

print("You are already in this class!")

return False

else:

print("This is not a class!")

return False

def save_attending(self):

# This array will hold the list of students in it

with open("attending.csv", 'w') as f:

# Read in the student table

for k in self.attendingList:

f.write(k.get_course_id() + "," + k.get_student_email() + "\n")


CONCLUSION

Student management system makes faculty jobs more accessible by


giving them an easy place to find and sort information. This system
allows teachers and student managers to follow with their student
engagement. The idea is to create scenario that makes the lives of
administration and teachers easier.
REFERENCES

BOOKS

O’REILLY,1997,ISBN 81-7366-057-3

WEBSITES

http://wiki.netbeans.org/wiki/view/CommunityDocs

You might also like