From e3f695bf8d01a9a21d70cc865b7ca9f3d14b9269 Mon Sep 17 00:00:00 2001 From: Qaidjohar Jukker <113633954+qaidjoharj53@users.noreply.github.com> Date: Fri, 6 Oct 2023 00:33:52 +0530 Subject: [PATCH 1/2] Revert "Updated the README.md File" --- README.md | 63 +------------------------------------------------------ 1 file changed, 1 insertion(+), 62 deletions(-) diff --git a/README.md b/README.md index b2af078..86f8341 100644 --- a/README.md +++ b/README.md @@ -1,63 +1,2 @@ # Student-Management-System - -For every school important task for administration department is to manage student information in a procedure oriented manner with latest updates for every year which need to be available for easy access. This can be provided by a simple Students Management system to help administration so to efficiently manage student’s details. To store data MySQL is used by connecting MySQL with Python using MySQL Connector. There is also a Login Panel where now admin can register themselves and can Login. - -## Installation - -##### 1. Install Mysql Python connector - -- [Mysql](https://dev.mysql.com/downloads/mysql/) -- [Mysql Python connector](https://dev.mysql.com/downloads/connector/python/) - -##### 2. install Mysql in Python using below command - ```bash - pip install mysql - ``` - -## Features - -##### Student Class: - -Defines a class called student to represent student records. -It has attributes for roll number (roll), name (name), and percentage (per). -Contains methods for adding a record, displaying a record, modifying a record, and displaying a formatted record. -##### File Handling: - -Imports the pickle module for serializing and deserializing Python objects to/from a binary file. -Imports the os module for file and directory manipulation. -##### Main Menu Loop: - -Utilizes a while loop to create a main menu for the user. -The user can choose from options to add, display, search, modify, or delete student records. -The loop continues until the user selects the "Exit" option. -##### Data Storage: - -Records of student objects are stored in a binary file named "stud.dat". -Records can be added to the file using the "Add record" option. -##### Displaying Records: - -The "Display all records" option reads and displays all the records stored in "stud.dat". -##### Searching Records: - -The "Search by roll number" and "Search by name" options allow the user to find records based on roll number or name. -The program displays the found records if they exist. -##### Modifying Records: - -The "Modify by roll number" option allows the user to change the data (roll number, name, percentage) of an existing record. -##### Deleting Records: - -The "Delete by roll number" option allows the user to delete a record based on the roll number. - -##### Error Handling: - -The code includes some basic error handling, such as handling file-related exceptions. -Clearing Console: - -Utilizes os.system("cls") to clear the console screen for better user interaction (Windows specific). - - -## Deployment - -To deploy this project just run .py files. - - +Class 12th CS submission From 78116e612cd06ac533ebba5a6d05de6e56b1e2c1 Mon Sep 17 00:00:00 2001 From: Jayesh Joshi <115784462+jayesh2474@users.noreply.github.com> Date: Sun, 8 Oct 2023 18:00:41 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 86f8341..8fcf3d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,63 @@ # Student-Management-System -Class 12th CS submission + +[![GitHub stars](https://img.shields.io/github/stars/qaidjoharj53/Student-Management-System)](https://github.com/yourusername/Student-Management-System/stargazers) +[![GitHub forks](https://img.shields.io/github/forks/qaidjoharj53/Student-Management-System)](https://github.com/yourusername/Student-Management-System/network) +[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) + +For every school, an important task for the administration department is to manage student information in a procedure-oriented manner with the latest updates for every year, which need to be available for easy access. This can be provided by a simple Students Management system to help administration efficiently manage student's details. To store data, MySQL is used by connecting MySQL with Python using MySQL Connector. There is also a Login Panel where now admin can register themselves and can Login. + +## Installation + +##### 1. Install MySQL Python Connector + +- [MySQL](https://dev.mysql.com/downloads/mysql/) +- [MySQL Python Connector](https://dev.mysql.com/downloads/connector/python/) + +##### 2. Install MySQL in Python using below command + + pip install mysql +## Features + +##### Student Class: + +Defines a class called student to represent student records. +It has attributes for roll number (roll), name (name), and percentage (per). +Contains methods for adding a record, displaying a record, modifying a record, and displaying a formatted record. +##### File Handling: + +Imports the pickle module for serializing and deserializing Python objects to/from a binary file. +Imports the os module for file and directory manipulation. +##### Main Menu Loop: + +Utilizes a while loop to create a main menu for the user. +The user can choose from options to add, display, search, modify, or delete student records. +The loop continues until the user selects the "Exit" option. +##### Data Storage: + +Records of student objects are stored in a binary file named "stud.dat". +Records can be added to the file using the "Add record" option. +##### Displaying Records: + +The "Display all records" option reads and displays all the records stored in "stud.dat". +##### Searching Records: + +The "Search by roll number" and "Search by name" options allow the user to find records based on roll number or name. +The program displays the found records if they exist. +##### Modifying Records: + +The "Modify by roll number" option allows the user to change the data (roll number, name, percentage) of an existing record. +##### Deleting Records: + +The "Delete by roll number" option allows the user to delete a record based on the roll number. + +##### Error Handling: + +The code includes some basic error handling, such as handling file-related exceptions. +Clearing Console: + +Utilizes os.system("cls") to clear the console screen for better user interaction (Windows specific). + + +## Deployment + +To deploy this project just run .py files.