0% found this document useful (0 votes)
39 views

COACH RECORD STORING SYSTEM - Project

This document describes a Python program for a coach record storing system. The program uses Pandas to read from and write to a CSV file to insert, view, and search coach records by name, salary, and grade. The program displays menus to allow users to select insert, view, or search options and outputs the results to the screen. It includes sections on introduction, requirements, code explanation, screenshots and bibliography.

Uploaded by

abhisekyt999
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

COACH RECORD STORING SYSTEM - Project

This document describes a Python program for a coach record storing system. The program uses Pandas to read from and write to a CSV file to insert, view, and search coach records by name, salary, and grade. The program displays menus to allow users to select insert, view, or search options and outputs the results to the screen. It includes sections on introduction, requirements, code explanation, screenshots and bibliography.

Uploaded by

abhisekyt999
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

BHOLANANDA NATIONAL

VIDYALAYA
BARRACKPORE

INFORMATICS PRACTICES(065)
PROJECT
2020-2021
TOPIC:
COACH RECORD STORING SYSTEM
GUIDED BY:- MR. Meghdoot Mukherjee

SUBMITTED BY: Abhisek Kumar Mishra


CLASS AND SECTION : XII- A
STREAM : Commerce
ROLL NUMBER:
TABLE OF CONTENTS

 INTRODUCTION TO PYTHON.
 INTRODUCTION TO THE PROJECT.
 ACKNOWLEDGEMENT.
 SYSTEMREQUIREMENTS.
 CSV FILE DETAILS.
 PROGRAM CODE DETAILS
 SCREEN SHOTS OF EXECUTION.
 BIBLIOGRAPHY.
 CERTIFICATE.
INTRODUCTION TO PYTHON

Python is an interpreted, object-oriented, high-


level programming language with dynamic
semantics. Its high-level built in data structures,
combined with dynamic typing and dynamic
binding, make it very attractive for Rapid
Application Development, as well as for use as a
scripting or glue language to connect existing
components together. Python's simple, easy to
learn syntax emphasizes readability and
therefore reduces the cost of program
maintenance. Python supports modules and
packages, which encourages program
modularity and code reuse. The Python
interpreter and the extensive standard library
are available in source or binary form without
charge for all major platforms, and can be freely
distributed.
History of Python:

Python is a widely used general-purpose, high-level


programming language. It was initially designed by
Guido van Rossum in 1991 and developed by
Python Software Foundation. It was mainly
developed for emphasis on code readability, and its
syntax allows programmers to express concepts in
fewer lines of code.
INTRODUCTION TO THE PROJECT

The COACH RECORD STORING SYSTEM


is an program which can be used to store
records of coaches .This application stores the
details of coaches ( ID, NAME, SPORTS, SEX,
SALARY, GRADE AND EXPERIENCE).We can
insert records and we can search by
coachname, salary and grade.
ACKNOWLEDGEMENT

I thank my Informatics Practices teacher Mr.


Meghdoot Mukherjee for guidance and
support. I am also thankful to our principal
Mrs. Swati Rudra. I would also thank to my
parent for encouraging during the course of
this project. Finally, I would like to thank CBSE
for giving me this opportunity to undertake
this project.
SYSTEM REQUIREMENTS

HARDWARE REQUIREMENT:

Printer- to print the required documents of


the project.
Compact Drive
Proccesor: Pentium III and above
RAM: 256 MB(minimum)
Hard-Disk : 20 GB(minimum)

SOFTWARE REQUIREMENT:

 Windows 7 or higher
 Microsoft Excel to create CSV File.
 Python idle 3.6 or higher or spyder.
 Microsoft Word 2010 or higher for
documentation.

CSV FILE DETAILS

FILE Name: COACH.CSV

LOCATION : D DRIVE

CONTENTS :
PROGRAM CODE

import pandas as pd
print('----------------WELCOME TO COACH RECORDS
STORING STORING SYSTEM------------------')
flag=True
while(flag):
print('---------------SELECT THE OPTION AS PER YOUR
REQUIREMENT--------------')
print('PRESS 1 TO INSERT NEW RECORD')
print('PRESS 2 TO VIEW ALL THE RECORDS')
print('PRESS 3 TO SEARCH A RECORD BY COACH
NAME')
print('PRESS 4 TO SEARCH A RECORD BY SALARY')
print('PRESS 5 TO SEARCH A RECORD BY GRADE')
print('PRESS ANY OTHER NUMBER TO QUIT.')
choice=int(input('ENTER YOUR CHOICE:'))
if choice==1:
id=int(input("ENTER COACH ID"))
name=input('ENTER THE COACH NAME:')
sports=input("ENTER SPORTS")
gender=input("ENTER GENDER")
sal=int(input("ENTER SALARY"))
grade=input("ENTER GRADE")
experience=int(input("ENTER EXPERIENCE IN
YEARS"))
L=[[id,name,sports,gender,sal,grade,experience]]
df=pd.DataFrame(L)
df.to_csv("D:\\
COACH.csv",mode='a',header=False,index=False)
print('Record Inserted Suceessfully')
elif choice==2:
print('-------DISPLAYING ALL THE COACH
DETAILS---------------')
df=pd.read_csv("D:\\COACH.csv")
print(df)

elif choice==3:
n=input('ENTER A COACH NAME TO SEARCH:')
df=pd.read_csv("D:\\
COACH.csv",names=['ID','NAME','SPORTS','SEX','SALARY','G
RADE','EXPERIENCE'])
val=df[df['NAME']==n]
if(val.empty==True):
print('No Such COACH Exists')
else:
print(val)
elif choice==4:
n=input('ENTER SALARY TO SEARCH:')
df=pd.read_csv("D:\\
COACH.csv",names=['ID','NAME','SPORTS','SEX','SALARY','G
RADE','EXPERIENCE'])
val=df[df['SALARY']==n]
if(val.empty==True):
print('No Such COACH Exists')
else:
print(val)
elif choice==5:
n=input('ENTER GRADE TO SEARCH:')
df=pd.read_csv("D:\\
COACH.csv",names=['ID','NAME','SPORTS','SEX','SALARY','G
RADE','EXPERIENCE'])
val=df[df['GRADE']==n]
if(val.empty==True):
print('No Such COACH Exists')
else:
print(val)

else:
print('THANK YOU FOR COACH RECORD
STORING SYSTEM')
flag=False
SCREEN SHOTS OF EXECUTION
MAIN MENU
INSERTING A NEW COACH DETAILS
DISPLAYING ALL THE RECORDS
SEARCHING A RECORD BY COACH
NAME
SEARCHING A RECORD BY SALARY
SEARCHING A RECORD BY GRADE
CLOSING THE PROGRAM
BIBLIOGRAPHY
BOOKS:

INFORMATICS PRACTICESWITH
PYTHON- BY SUMITA ARORA
INFORMATICS PRACTICES WITH
PYTHON- BY PREETI ARORA
PYTHON COOKBOOK

WEBSITES:
www.geeksforgeeks.org
https://docs.python.org/3/
https://www.w3schools.com/python/
CERTIFICATE

This is to certify that Abhisek Kumar Mishra


of class XII, BHOLANANDA NATIONAL
VIDYALAYA, Barrackpore has successfully
completed his/her project in Informatics
Practices Practical for the AISSCE as
prescribed by CBSE in the year 2023 - 2024.

Roll No :

_____________ _____________
Sign. of Internal Sign. of External

You might also like