Student Result Project Plan
Student Result Project Plan
1. Group Details
Group Members:
- Priya Sharma
- Rahul Mehta
- Anika Verma
2. Project Overview
We have selected a Python project that demonstrates the integration of Python with MySQL using the
`mysql.connector` module.
Our project is titled **Student Result Database System** and is designed to manage student academic
records.
3. Project Description
Objective:
To develop a console-based application in Python that uses SQL database connectivity to perform CRUD
Key Features:
Technologies Used:
- Python
- MySQL
Modules Used:
- mysql.connector
4. Code Structure
- add_student()
- view_students()
- search_student()
- update_student()
- delete_student()
import mysql.connector
def connect_db():
database="school")
def add_student():
con = connect_db()
cursor = con.cursor()
cursor.execute("INSERT INTO students (name, roll, marks) VALUES (%s, %s, %s)", (name, roll, marks))
con.commit()
print("Student added.")
con.close()