Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Student-Management-System-using-python

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.

🎓 Student Management System

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.


🚀 Features

  • 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

🛠️ Technologies Used

  • Python
  • JSON
  • Object-Oriented Programming (OOP)
  • File Handling
  • Random & String Modules

📊 Stored Data Sample (Student_data.json)

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"
  }
]

💻 Program Output

Main Menu

=== 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 :

Add Student

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

Display Student

Enter your student Id :- 7gF00n

your information are :-

name : Rohit
email : [email protected]
percentage : 96.0
Id : 7gF00n

Update Student

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

Delete Student

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

Exit Program

Thanks for using Student Management System

📚 What I Learned

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

👨‍💻 Author

Rohit Rathod

Diploma in Computer Engineering

Gen AI & Python Intern

Aspiring Python Developer | Ai Enthusiast

About

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.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages