Paridhi Batla IP Project
Paridhi Batla IP Project
BANKING.
MANAGEMENT
PROJECT FILE
Sub Code-065
Paridhi Batla.
CONTENTS
▪ CERTIFICATE
▪ ACKNOWLEDGEMENT
▪ INTRODUCTION
▪ OBJECTIVE OF THE PROJECT
▪ LIMITATIONS
▪ SYSTEM IMPLEMENTATION
• THE HARDWARE USED
• THE SOFTWARE USED
▪ THEORETICAL BACKGROUND
• WHAT IS PYTHON?
• WHAT IS CSV FILE?
▪ CSV FILES USED
▪ CODING
▪ OUTPUTS
INTRODUCTION
This software project is developed to automate the
functionalities of a bank management system. The purpose of
the software project is to develop the management
Information System (MIS) and to automate all the banking
process.
It mainly consists of a computerized database a collect of inter
related CSV files for a particular subject or purpose like
references to csv, capable to provide an interface for retrieving
customer related details. An application program is tied with
the CSV files for easy access and interface to it using application
program (Python) or frontend, we can store, retrieve and
manage all information in proper way.
This software being simple in design and working doesn't
require much of training to users, and can be used as a
powerful tool for automating a Banking Management System.
During coding and design of the software project python IDLE,
as a powerful frontend tool 1s used for getting Graphic User
Interface (GUI) based integrated platform and coding simplicity.
As a backend CSV files is used as per the requirement of the
CBSE curriculum of INFORMATIC PRACTICES (065).
OBJECTIVE OF THE PROJECT
The main objective of this system is to provide a secure system.
Our system is password protected and it only allows authorized
Users to access various functions available in the system.
Our System will help the user to locate any A/C wanted by the
User. It will reduce manual work as most of the work done by
Computer. As all the manual work will be done automatically so
it Will increase work speed and reduce time consumption to
Complete any bank related work. It will also increase the work
Efficiency as few employees can handle more customers. This
will Reduce the manual workload and give information
instantly.
Hardware used :
While developing the system, the used hardware
are:
▪ Pc with Intel core i5-2400s processor having
4.00gb ram, 64-but operating system, saga and
other required devices.
Software used:
▪ Microsoft windows 10 pro as operating system.
▪ Python 3.7.2 as frontend development
environment.
▪ Ex-cell for CSV files.
▪ Mc-word 2010 for documentation.
THEORETICAL BACKGROUND
➢ What is Python?
Python is an open source, object-oriented high level
programming language developed by Guido Van Rossum
in 1991 at the National Research Institute for
Mathematics, Netherlands.
Features of Python:
▪ It is an interactive, interpreted language.
▪ It is a loosely typed object-oriented language.
▪ It is a free open-source and portable language.
▪ It supports GUI.
▪ It can be easily compatible with other languages like
C, C++ etc.
▪ It takes less time to develop programs.
BANK FILE
ACC NO NAME MOBILE EMAIL
4040 Neeraj 9891100819 [email protected]
4041 Miral 8581884738 [email protected]
4042 Akbar 9891666083 [email protected]
4043 Kanit 9890789239 [email protected]
CODING
import pandas as pd
import matplotlib.pyplot as plt
def menu () :
print()
print(**********************************)
print( “BANKNG MANAGEMENT SYSTEM” )
print(**********************************)
print()
print( “0. Know about the project”)
print(“1. Reading file bank”)
print(“2. Reading file bank without index”)
print(“3. Add details of new account holder”)
print(“4. Delete account if it is closed”)
print( “5. Balance Enquiry”)
print(“6. Read few records”)
print(“7. Read 2 records from top and 2 from
bottom”)
print(“8. Arrange details in ascending order by
name of accounts”)
print("9. Maximum balance from all accounts in
bank")
print(“10. Reading file account")
print(“11. Deposit in accounts”)
print(“12. Withdrawal from accounts”)
print(“13. Line Plot”)
print(“14. Line1 Plot”)
print(“15. Bar plot”)
print(“16. Bar1 Plot”)
print(“17. Barh Plot”)
print(“18. Barh1 Plot")
print()
print(***********************************)
menu()
def about():
print(“In Bank Management 5ystem project there
are 2 CSV files names as bank and account\There
are 19 options including 7 plots”)
def bankcsv():
print(“Reading file bankcsv”)
print()
print()
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\
bank.csv”)
print(df)
def no_index():
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\bank.csv
,index_col=0)
print(“without index”)
print()
print(df)
print()
def new_acholder() :
print(“Adding new account holder in file
account”)
print()
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\account.
csv”,index_col=0)
print(df)
print()
print()
df1=pd.Series(data={“accno”:”4044”,”name”:”Anan
a”,”debit”:”930”,”credit”:”9000”,”bal”:”6000”},nam
e="X")
df=df.append( df1,ignore_index=True)
print(df)
def removeacc ():
print(“Deleting account holder from file account”)
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\account.
csv”,index_col="accno")
print(df)
accno=int (input (“Enter account no.”)
df.drop( accno, axis=0, inplace=True)
print(df)
def read_rows():
print(“show only few records”)
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\bank.csv
”, nrows=2)
print(“show 2 records”)
print(df)
def top_bottom():
print(“show only few records from top and
bottom”)
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\bank.csv
”)
print(“top 2 records”)
print(df.head (2))
print()
print()
print (“last 2 records”)
print(df.tail(2))
def sort_names():
print(“sorting account holders names in
ascending order”)
df=pd.read_Csv(“C:\\Users\\hp\\
Desktop\\bank.csv”, index_col=0, Usecols-
[“name”])
print(df)
def maxbal():
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\bank.csv
)
print(df)
print(“Highest bal”)
print (df.bal.max())
def deposit():
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\account.
csv”)
print(“previous statement”)
print(df)
df.loc[df[“accno”]==4040,[“credit"]]=df[“credit”]+40
00
df[“bal”]=df[[“debit”,”credit”]].diff(axis=-1).
iloc[:,1].cumsum().astype(int)
print(df)
def withdrawal():
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\account.
csv”)
print(“previous statement”)
print()
print(df)
print()
df.loc[df[“accno”]==4041,[“debit"]]=df[“debit”]-
3000
print()
df[“bal”]=df[“bal”]-3000
print(df)
def line1_plot():
print (“Line Plot”)
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\bank.csv
”)
print(df)
x=df[“name”]
y=df[“bal”]
plt.title(“balance of account holders”)
plt.plot(x, y, marker=”x”, Is=”dashed", linewidth=4,
color=”y”)
plt.show()
def bar_plot()
print ("bar plot")
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\bank.csv
”)
print(df)
x=df[“name”]
y=df[”bal”]
plt.title("balance of account holders")
plt.xlabel(“name”)
plt.ylabel(“bal”)
plt.bar (x, y, color="red")
plt.show()
def bar1_plot():
print(“bar plot”)
df=pd.read_csv(“C:\\Users\\hp\\Desktop\\bank.csv
”)
print(df)
x=df[“name”]
y=df[“bal”]
plt.title(“balance of account holders”)
plt.xlabel(“name”)
plt.ylabel(“bal”)
plt.bar (x, y, color= [“red”,”green"])
plt.show()
opt=””
opt=int (input “Enter your choice:”))
if opt==0
about ()
elif opt==1:
bankcsv()
elif opt==2:
no_index()
elif opt==3:
new acholder()
elif opt==4:
removeacc()
elif opt==5:
balenquiry()
elif opt==6:
read_rows()
elif opt==7:
top_bottom()
elif opt==8:
Sort_names()
elif opt==9:
maxbal()
elif opt==10:
accountread()
elif opt==11:
deposit()
elif opt==12:
withdrawal()
elif opt==13:
line1_plot()
elif opt==14:
line2_plot()
elif opt==15:
bar_plot()
elif opt==16:
bar1_plot()
elif opt==17:
barh_plot()
elif opt==18:
barh1_plot()
else:
print(“invalid option”)
print(“/a”)
OUTPUT
Option 0:
Option 1:
Option 2:
Option 3:
Option 4:
Option 5:
Option 6:
Option 7:
Option 8:
Option 9:
Option 10:
Option 11:
Option 12:
Option 13:
Option 14:
Option 15:
Option 16:
Option 17:
Option 18: