Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Management System

A simple Student Management System built with Python using Object-Oriented Programming (OOP). This project allows users to manage student records through a command-line interface and stores data permanently using JSON.


Features

  • Add a new student
  • View all students
  • Search a student by Roll Number
  • Update student information
  • Delete a student
  • Automatically save data to a JSON file
  • Load existing student data when the program starts

Technologies Used

  • Python 3
  • Object-Oriented Programming (OOP)
  • JSON
  • File Handling

Project Structure

Student-Management-System/
│
├── student.py        # Student class
├── manager.py        # CRUD operations
├── storage.py        # Save & Load JSON data
├── main.py           # Main application
├── students.json     # Database (created automatically)
└── README.md

Getting Started

1. Clone the repository

git clone https://github.com/your-username/Student-Management-System.git

2. Go to the project folder

cd Student-Management-System

3. Run the project

python main.py

Menu

===== Student Management System =====

1. Add Student
2. View Students
3. Search Student
4. Update Student
5. Delete Student
6. Exit

Concepts Practiced

  • Classes & Objects
  • Encapsulation
  • Constructors (__init__)
  • CRUD Operations
  • Lists of Objects
  • Methods
  • JSON Serialization
  • JSON Deserialization
  • File Handling
  • Exception Handling
  • Dynamic Attribute Updates (setattr)
  • Keyword Arguments (**kwargs)
  • Modules & Imports
  • Menu-Driven Programs

Data Storage

Student records are stored in a local students.json file. All changes are automatically saved, and existing records are loaded whenever the application starts.


Learning Outcomes

Through this project, I learned how to:

  • Design applications using Object-Oriented Programming.
  • Build reusable classes and methods.
  • Perform CRUD operations.
  • Work with JSON files for persistent storage.
  • Handle exceptions gracefully.
  • Organize a Python project into multiple modules.
  • Build a complete command-line application.

License

This project is created for learning and educational purposes.

About

A simple Student Management System built with Python using Object-Oriented Programming (OOP). This project allows users to manage student records through a command-line interface and stores data permanently using JSON.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages