Ragual R
Ragual R
INTERNATIONAL RESIDENTIAL
SCHOOL (CBSE)
2023-2024
NAME : RAGUAL.R
CLASS : XII-B
REG.NO :
A PROJECT SUBMITTED IN PARTIAL FULFILLMENT
OF THE REQIREMENT FOR THE A.I.S.S.C.E
CERTIFICATION FROM CENTRAL BOARD OF
SECONDARY EDUCATION
…………………………………………………………
PROJECT WORK
DONE BY:
..…………………………………………
REG.NO:
……..……………………………………
UNDER THE GUIDANCE OF
2023-2024
CERTIFICATE
THIS IS TO CERTIFY THAT THE PROJECT ENTITLED ………….
………………………………………………………………………………….. IS A BONAFIDE
TEACHER IN-CHARGE:
PRINCIPAL
MR. SURESH S
SEAL
ACKNOWLEDGEMENT
1 OVERVIEW OF PYTHON 1
2 PROJECT SYNOPSIS 2
3 REQUIREMENTS 4
4 BACK END DETAILS 5
REQUIRMENTS
MINIMUM HARDWARE REQUIREMENT
Display : LED Monitor or above
Processor : Pentium core or above
Hard disk : 100GB
RAM : 1GB
Keyboard : PS/2 OR USB
Mouse : PS/2 OR USB
SOURCE CODE
import mysql.connector as mc
mycon=mc.connect(user='root',password='206',host='localhost',
database='student')
if(mycon.is_connected()):
print("Connection Successfull")
def addstud():
opt='y'
while(opt 'y' or opt 'Y'):
admn=int(input("Enter the Student Admission Number"))
Name=input("Enter the Student Name")
class_division=input("Enter Class and Division")
DOB=input("Enter the Date of Birth(in YYYY-MM-DD like 2000-01-01)")
parents_Guardian=input("Enter the Parents orGuardian")
query="insert into student_details
values('{}','{},'{}','{}','{}')".format(admn,Name,class_division,DOB,parents_Gu
ardian)
mycursor mycon.cursor()
mycursor.execute(query)
mycon.commit()
print("*****Record AddedSuccessfully** ****")
opt-input("Do you add More ? y /Y")
menu()
Def addmarks():
x=int(input("Enter the admission of the student"))
query="select from student_details where admn={}".format(x)
mycursor=mycon.cursor()
mycursor.execute(query)
rec-mycursor.fetchone()
if(mycursor.rowcount=0): print("Sorry No record Found, Try Again")
menu()
else:
print("Admission Number:",rec[0])
print("Name:",rec[1])
print("Class & Division:",rec[2])
print("dob:",rec[3])
subl=input("Enter First Subject") subl_marks 1=int(input("Enter the Theory
Mark"))
sub1_marks2=int(input("Enter the Practical Mark"))
subl_total=subl_marks1+sub1_marks2
sub2=input("Enter Second Subject")
sub2_marks1=int(input("Enter the Theory Mark"))
sub2_marks2=int(input("Enter the Practical Mark"))
sub2_total=sub2_marks1+sub2_marks2
sub3=input("Enter Third Subject")
sub3_marks1=int(input("Enter the Theory Mark"))
sub3_marks2=int(input("Enter the Practical Mark"))
sub3_total-sub3_marks1+sub3_marks2
sub4-input("Enter Fourth Subject") sub4_marks 1=int(input("Enter the
Theory Mark"))
sub4_marks2=int(input("Enter the Practical Mark"))
sub4_total-sub4_marks1+sub4_marks2 sub5=input("Enter Fifth Subject")
sub5_marks 1=int(input("Enter the Theory Mark"))
sub5_marks2=int(input("Enter the Practical Mark"))
sub5_total=sub5_marks1+sub5_marks2
________________________________
_
Text Books
1.Computer Science with Python :
Sumitha Arora
2.Computer Science with Python :
Preeti Arora
Websites
1. www.cbseprojectguide.com
2. www.python4csip.com