This Python-based Student Management System performs CRUD (Create, Read, Update, Delete) operations on student records. Student information is stored in a JSON file, making the data persistent even after the program is closed.
A simple command-line Student Management System built using Python. This project allows users to add, view, update, and delete student records, while storing all data permanently in a JSON file.
- Add new student records
- Generate unique Student IDs automatically
- Display student details using Student ID
- Update existing student information
- Delete student records
- Store data permanently using JSON
- Menu-driven command-line interface
- Python
- JSON
- Object-Oriented Programming (OOP)
- File Handling
- Random & String Modules
The project currently contains 7 student records.
[
{
"name": "Rohit",
"email": "[email protected]",
"percentage": 96.0,
"Id": "7gF00n"
},
{
"name": "Karan",
"email": "[email protected]",
"percentage": 97.0,
"Id": "5xi59z"
}
]=== Welcome to Student Management System ===
Enter 1 for Add Student
Enter 2 for Display Student
Enter 3 for Update the Student
Enter 4 for Delete the Student
Enter 5 for Exit
Enter your Choice :
Enter your name :- Rohit
Enter your email :- [email protected]
Enter your previous semester percentage :- 96
account has been created successfully
name : Rohit
email : [email protected]
percentage : 96.0
Id : 7gF00n
Enter your student Id :- 7gF00n
your information are :-
name : Rohit
email : [email protected]
percentage : 96.0
Id : 7gF00n
Enter your student id :- 7gF00n
Enter your new name and press enter :
Enter your new Email and press enter :
Enter your new percentage and press enter :
details updated successfully
Enter your student id for deleting your detail :- 7gF00n
press y if you actually want to delete the account or press n (Y/N) :- y
account deleted successfully
Thanks for using Student Management System
During this project, I learned:
- Object-Oriented Programming (Classes and Methods)
- JSON file handling in Python
- Reading and writing data permanently
- CRUD operations implementation
- Generating unique IDs using Python
- Working with lists and dictionaries
- Building menu-driven console applications
Rohit Rathod
Diploma in Computer Engineering
Gen AI & Python Intern
Aspiring Python Developer | Ai Enthusiast