You are on page 1of 26

Emerald Convent School

Sector-79 Greater Faridabad


Haryana
Bank Management System
Project File
Session 2023-24

Teacher: Student:
Shilpa Yadav Pratham Pandey
CLASS: XII A
Roll no : 29
𝓒𝓮𝓻𝓽𝓲𝓯𝓲𝓬𝓪𝓽𝓮

This is to certify that Master Pratham Pandey of

class XII – A has successfully completed the

Informatics Practices project on the topic Bank

management system under the guidance of Mrs.

Shilpa Yadav Mam during the academic year 2023-24.

TEACHER’S SIGNATURE
𝓐𝓬𝓴𝓷𝓸𝔀𝓵𝓮𝓭𝓰𝓶𝓮𝓷𝓽

I would like to express my special thanks of


gratitude to my teacher Mrs. Shilpa Yadav as
well as our principal Dr Rekha Jethley who gave
me golden opportunity to do this project of
INFORMATICS PRACTICES, which also helped
me in doing a lot of research and I came to know
new things about it. Without their help, guidance
and support it would be impossible to complete
this project.

Secondly, I would also like to thank my parents


and friends who helped me a lot in finishing this
project within limited time. I am making this
project not only for marks but also to increase my
knowledge.

Once again thanks to all who helped me in doing


this project.
𝓟𝓻𝓸𝓳𝓮𝓬𝓽 𝓸𝓷

BANK 𝓶𝓪𝓷𝓪𝓰𝓮𝓶𝓮𝓷𝓽
𝓢𝔂𝓼𝓽𝓮𝓶…

𝓘𝓷𝓽𝓻𝓸𝓭𝓾𝓬𝓽𝓲𝓸𝓷

This Software is used to maintain the records of


the Doctors, details of patients with their history
of medication and other staffs working in the
hospital.

𝓞𝓫𝓳𝓮𝓬𝓽𝓲𝓿𝓮
The objective of this project is to let the students apply the
programming knowledge into a real-world situation/problem
and exposed the students how programming skills helps in
developing a good software.

𝓗𝓪𝓻𝓭𝔀𝓪𝓻𝓮 𝓪𝓷𝓭
𝓼𝓸𝓯𝓽𝔀𝓪𝓻𝓮

𝓡𝓮𝓺𝓾𝓲𝓻𝓮𝓶𝓮𝓷𝓽𝓼
HARDWARE REQUIREMENTS:-

❖ Keyboard and Mouse for input

❖ Hard Disk 5 MB or more

❖ 4GB RAM or higher

❖ Processor – Intel Core to i3 or higher

SOFTWARE REQUIREMENTS:-

❖ Python 3.8.10 or higher


❖ Spread Sheet Software

❖ Windows 7 or higher

❖ MS Word (Any after 2007)

❖ MS Excel (Any after 2007).


𝓘𝓷𝓽𝓻𝓸𝓭𝓾𝓬𝓽𝓲𝓸𝓷 𝓽𝓸 𝓹𝔂𝓽𝓱𝓸𝓷

Python is a popular programming language. It was


created by GUIDO VAN ROSSUM, and released in
1991. It is used for:

• Web development (server-side),

• Software development,

• Mathematics,

• System scripting. What can python do?

• Python can be used on a server to create web


application.

• Python can be used alongside software to create


workflows.
• Python can connect to database system. It can
also read and modify files.

• Python can be used to handle big data and


perform complex mathematics.

Data Visualization
Data visualization is the technique to present the
data in a pictorial or graphical format. It enables
stakeholders and decision makers to analyze data
visually. The data in a graphical format allows
them to identify new trends and patterns easily.

When they numerical data is plotted on a graph


for converted to charts it's easy to identify the
patterns and predicted the result accurately.
The main benefits of data visualization are as
follows:

 It simplifies the complex


quantitative information
 It helps analyze and explore big data easily
 It identifies the areas that need attention
or improvement
 It identifies the relationship between
data points and variables
 It explores new patterns and reveals
hidden patterns in the data

Three major considerations for Data Visualization:

 Clarity
 Accuracy
 Efficiency

Clarity ensures that the data set is complete and


relevant. This enables the data scientist to use
the new patterns yield from the data in the
relevant places.
Accuracy ensures using appropriate graphical
representation to convey the right message.
Efficiency uses efficient visualization technique
which highlights all the data points.
There are some basic factors that one would need
to be aware of before visualizing the data.

 Visual effect
 Coordination System
 Data Types and Scale
 Informative Interpretation

Visual Effect includes the usage of appropriate


shapes, colors, and size to represent the analyzed
data.
The Coordinate System helps to organize the
data points within the provided coordinates.
The Data Types and Scale choose the type of
data such as numeric or categorical.
The Informative Interpretation helps create
visuals in an effective and easily interpreted ill
manner using labels, title legends, and pointers.
So far we have covered what data visualization is
and how it helps interpret results with large and
complex data. With the help of the Python
programming language, we can perform this data
visualization.

Python Libraries
Many new python data visualization libraries are
introduced recently, such as matplotlib, Vispy,
bokeh, Seaborn, pygal, folium, and networks. The
matplotlib has emerged as the main data
visualization library.

Matplotlib
Let us learn about matplotlib in detail.
Matplotlib is a python two-dimensional plotting
library for data visualization and creating
interactive graphics or plots. Using python’s
matplotlib, the data visualization of large and
complex data becomes easy.
Matplotlib Advantages
There are several advantages of using matplotlib
to visualize data.

 A multi-platform data visualization tool built


on the numpy and sidepy framework.
Therefore, it's fast and efficient.
 It possesses the ability to work well with
many operating systems and graphic back
ends.
 It possesses high-quality graphics and plots to
print and view for a range of graphs such as
histograms, bar charts, pie charts, scatter
plots and heat maps.
 With Jupiter notebook integration, the
developers have been free to spend their
time implementing features rather than
struggling with compatibility.
 It has large community support and cross-
platform support as it is an open source
tool.
 It has full control over graph or plot styles
such as line properties, thoughts, and access
properties.

𝓢𝓸𝓾𝓻𝓬𝓮 𝓬𝓸𝓭𝓮
:#hospital management softwarare

#PRINTING WELCOME NOTE

While(True):

Print(“””

WELCOME TO SP HOSPITALS PVT. LTD.

##creating database connectivity

Import mysql.connector

Passwd atr (input (“ENTER THE DATABASE PASSWORD;”

Mysql mysql.connector.connect (host-“localhost”, user= “root”,


passwd=”ADMINISTRATOR12345”)

Mycursor-mysql.cursor()
#creating database

Mycursor.execute(“create database if not exists SP_hospitals”)

Mycursor.execute(“use SP hospitals”)

#creating the tables we need

Mycursor.execute(“create table if not exists

Patient_details (name varchar(30) primary key, age int (3), address


varchar(50),doctor_recommended varchar(30))”)

Mycursor.execute(“create table if not exists doctor_details (name varchar(30) primary key,


specialisation varchar(40), age int (2), address varchar(30), contact varchar(15), fees int(10),
monthly salary int(10))”)

Details(name varchar(30) primary key, age int (2), addreas varchar(30),


contact varchar(15) monthly salary int (10))”)

Mycursor.execute(“create table if not exista other workers detaila (name varchar(30) primary
key, age int (2), address varchar(30), contact varchar(25),monthly_salary int(10))”)

#login or signup option

#creating table for storing the username and password of the user

Mycursor.execute(“create table if not exista user data (username varchar(30) primary


key,password varchar(30) default’000’)”)

#printing option
While (True):

Print(“

1. SIGN IN (LOGIN)

2. SIGN UP (REGISTER)

Rint (input(“enter your choice:”))

#IF USER WANTS TO REGISTER

If 2:

Print(“””

USERNAME!!:”)

Uminput “ENTER YOUR PREFERRED

Pinput(“ENTER YOUR PREFERRED PASSWORD (PASSWORD SHOULD BE STRONG!!!:”)

#ENTERING THE ENTERED VALUE TO THE USER DATA TABLE

Mycursor.execute(“insert into user dato values(‘”+u+”, “+””

Mysql.commit()

Print(“””

!!!!! REGISTERED
x-input(“enter any key to continue:”)

#IF USER WANTS TO LOGIN

Elif r1:

#PRINTING THE SINGIN OPTION AGAIN TO THE USER AFTER REGISTRATION

Print(“””

!!!!! {{SIGN IN ))un-Input/ “ENTER THE USERNAME!!:” ps-input(“ENTER THE PASSWORD!!:”)

Mycursor.execute(“select password from user data where username”+un+””)

Row-mycursor.fetchall()

For I in row:

a-list(1)

a[0]—str(pa):
while (True)
if
##displaying the task

You can perform


Print(“””
1.ADMINISTRATION

3. PATIENT (ADMISSION AND DISCHARGE PROCESS)

3.SIGN OUT
From user

CHOICE:”))

#asking for the task

a-int (input(“ENTER YOUR

administration option

#if user wants to enter if a-1:

Print(“””

Show details

ADD NEW MEMBER3. DELETE EXISTING ONE

4. EXIT

YOUR CHOICE:”))

Existing details

b- int(input(“ENTER

#showing the

If b=-1:

Print(“””
1. DOCTOR DETAILS
2. NURSE DETAILS
3. OTHER WORKERS

ASKING USER’S

CHOICE

c- int (input(“ENTER YOUR CHOICE:”))

to see the details of doctors

#if user wants

If c-1:

Mycursor.execute(“select from doctor_details”)

Row mycursor.fetchall()

Row:

For I in

V=list(i)

b-0b

[“NAME”, “SPECIALISATION”, “AGE”, “ADDRESS”, “CONTACT” “FEES”, “MONTHLY_SALARY”]d-dict (zip


(k,v))

Print (d)

To see the details of nurses

#if user wants

Elif c 2:
Mycursor.execute(“select from nurse_details”)

Row-mycursor.fetchall()

ROW:

For I in

Velist (1)

K-“NAME”, “AGE”, “ADDRESS”, “CONTACT”, “MONTHLY_SALARY” 1

Dedict(zip(k,v))

Print (d)

To see the details of other_workers

Fif user wants

Elif c==3

Mycursor.execute(“select from other_workers_details”)

Row-mycursor.fetchall()

For I in

ROW:

v-list(i)

k=(“NAME”, “AGE”, “ADDRESS”, “CONTACT NO”, “MONTHLY SALARY”)

ddict (zip(k,v))

print(d)

ENTER DETAILS

IF USER WANTS THE DOCTOR DETAILS


2. NURSE DETAILS

c-int (input(“ENTER YOUR CHOICE:”))

DETAILS OF DOCTORS

FOR ENTERING

If c-11 WASKING THE

DETAILS

Name-input(“ENTER DR. NAME: “)

Spe-input(“ENTER SPECIALISATION:”)

Age-input(“ENTER AGE: “)

Add-input(“ENTER ADDRESS:”)

Cont=input(“ENTER CONTACT NO.:”)

Fees input(“ENTER FEES:”)

Ms input(“ENTER MONTHLY SALARY:”)

#INSERTING VALUES ENTERED INTO THE DOCTORS TABLE

Mycursor.execute(“insert into doctor details values(‘”+name+”’,’”+spe+”’,’”+age+”, “+add+”’,’”


ont+”’,’”+fees+”’,’”+ms+”’”)

Print(“SUCCESSFULLY ADDED”)

Mysql.commit()nurse details

For entering

Elif co-21 BASKING THE

DETAILS

Name input(“ENTER NURSE NAME:”)


Age input (“ENTER AGE:”)

Add-input(“ENTER ADDRESS:”)

Cont input(“ENTER CONTACT NO.:”)

Ms-int(input (“ENTER MONTHLY SALARY:”))

#INSERTING

VALUES ENTERED TO THE TABLE

Mycursor.execute(“insert into nurse details values(‘”+name+””, “”+age+”’,’”+add+”’,’”+cont+”’,’”+


str(ms)+”’)”)

Mysql.commit()

Print(“SUCCESSFULLY ADDED”)

#for entering

Workers details

Elif co-3: #ASKING THE

DETAILS

Name-input(“ENTER WORKER NAME:”)

Age-input (“ENTER AGE:”)

Add-input(“ENTER ADDRESS:”)

Cont-input(“ENTER CONTACT NO.:”

Ms-input (“ENTER MONTHLY SALARY:”)

VALUES ENTERED TO THE TABLEprint(“SUCCESSFULLY DELETED!!”)

Else:
Print “NOT DELETED”)

Details

#deleting nurse

Elif co-2:

Name-input(“ENTER NURSE NAME: “)

Mycursor.execute(“select name”+name+”.”) nurse details where

Row-mycursor.fetchall()

Print (row)

Really wanna delete this data? (y/n):”)

p-input (“you

if pe=”y”:

mycursor.execute(“delete from nurse_details where name=”+name+”’”

mysql.commit()

print(“SUCCESSFULLY DELETED!!”)

else:

print(“NOT DELETED”)

#deleting

Other_workers ddetail

Elif c==3:

Name input (“ENTER THE WORKER NAME:”)

Mycursor.execute(“select from workers details where name=’”+name+””

Row-mycursor.fetchall()print (row)
Really wanna delete this data? (y/n):”)

p-input (“you

If pa”y”:

Mycursor.execute(“delete from other workers_details where name=’”+name+”’”)

Mysql.commit()

Print(“SUCCESSFULLY DELETED!!”)

Print(“NOT DELETED”)

Else:

Elif b=-4:

Break

Bentering the patient

Elif a 2:

Print(“””

Details table

1. SHOW PATIENT DETAILS


2. ADD NEW PATIENT
3. DISCHARGE PATIENT
4. EXIT

YOUR CHOICE: “))

Existing details

See the details of

PATIENT b-int

(input(“ENTER #showing

the
#if user wants to

If b=-1:

Mycursor.execute(“select from patient_details”)11 EGISTERED

SUCCES

#dischare process

Elif b 3:

Name-input(“ENTER THE PATIENT NAME:”)

Mycursor.execute(“select where name=’”+name+”’”) from patient_details

Row-mycursor.fetchall()

Print(row) bill-input(“HAS

HE PAID ALL THE BILLS? (y/n):”)

If bill—“y”:

Mycursor.execute(“delete from patient details where name=’”+name+”’”)

Mysql.commit()

#if user wants to

Exit

Elif b=-4:

Break

###SIGN OUT

Elif a 3:

Break
IF THE USERNAME AND PASSWORD IS NOT IN THE DATABASE else:

Print(“The Entered Username and Password does not match with the accounts stored in the Database”)

Break

𝓑𝓲𝓫𝓵𝓲𝓸𝓰𝓻𝓪𝓹𝓱𝔂
We took the information for our project report
from the following sources:

Reference books:

1. Informatics Practices by Sumita Arora.

2. Complete reference with Python

3. Data Analysis-Python

Websites:

 https://www.python.org.in
 https://www.google.com
 https://www.tutorialaicsip.com
 https://www.Kaggle.com

You might also like