A desktop app to record student marks, auto-calculate results and keep everything in Excel
Teachers often track marks in scattered spreadsheets and calculate totals by hand. This app gives them a simple form: enter a student's roll number, name and marks in three subjects, and it calculates the total, average and grade, then saves the record to students.xlsx so it can be opened in Excel at any time.
- 📝 Add students with roll number, name and three subject marks
- 🧮 Automatic total, average and grade (A+ to F)
- 💾 Records saved to an Excel file (
students.xlsx); existing records are kept - 🔁 Saving an existing roll number updates that student instead of duplicating
- 📋 Table of all students; click a row to load it into the form
- 🗑️ Delete a selected student
- ✅ Input validation (required fields, marks between 0 and 100)
| Average | Grade |
|---|---|
| 90 and above | A+ |
| 75 – 89 | A |
| 60 – 74 | B |
| 50 – 59 | C |
| 35 – 49 | D |
| Below 35 | F |
┌──────────────── STUDENT MARKS DETAILS ────────────────┐
│ Roll No [ ] Student Name [ ] │
│ Subject 1 [ ] Subject 2 [ ] │
│ Subject 3 [ ] Total [ auto ] │
│ Average [ auto ] Grade [ auto ] │
│ │
│ [CALCULATE & SAVE] [CLEAR] [DELETE SELECTED] │
│ ┌───────────────────────────────────────────────────┐ │
│ │ Roll │ Name │ Sub1 │ Sub2 │ Sub3 │ Total │ Avg │ G │ │
│ │ 101 │ Asha │ 88 │ 92 │ 79 │ 259 │86.33│ A │ │
│ └───────────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────────┘
git clone https://github.com/Gaganajain/Student-Management-System.git
cd Student-Management-System
pip install -r requirements.txt
python main.pystudents.xlsx is created in the same folder the first time you save a student.
| Area | Tools |
|---|---|
| Language | Python |
| GUI | Tkinter + ttk Treeview |
| Storage | openpyxl (Excel .xlsx) |
- Search and filter students
- Charts of class performance
- Export a report card as PDF
- SQLite database option
Gagana Jain A · GitHub
This project is licensed under the MIT License.