0% found this document useful (0 votes)
826 views21 pages

Banking Management System

This document describes a student's bank management system project in Python. It includes an introduction to the project, its objectives to create software for basic banking functions like account creation, deposits, withdrawals, and a certificate certifying the student completed the project. It also includes sections about the source code, screenshots, and references for the project. The project uses Python to build a basic console application that allows users to manage bank accounts and perform common banking tasks.

Uploaded by

Anikait Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
826 views21 pages

Banking Management System

This document describes a student's bank management system project in Python. It includes an introduction to the project, its objectives to create software for basic banking functions like account creation, deposits, withdrawals, and a certificate certifying the student completed the project. It also includes sections about the source code, screenshots, and references for the project. The project uses Python to build a basic console application that allows users to manage bank accounts and perform common banking tasks.

Uploaded by

Anikait Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Banking Management‘System

Submitted by :
Name: Anikait Sharma
Roll no: 2007487
Course: B.TECH
Branch: CSE
CERTIFICATE

THIS IS TO CERTIFY THAT ANIKAIT SHARMA, STUDENT OF

B.Tech(CSE) HAS SUCCESSFULLY COMPLETED THE PROJECT TITLED

“BANK MANAGEMENT SYSTEM” DURING THE ACADEMIC YEAR 2022-

2023.
INDEX:

1. INTRODUCTION

2. ABOUT PROJECT

3. WHY PYTHON

4. SOURCE CODE

5. SCREENSHOTS

6. REFERENCES
INTRODUCTION

Our bank management system project in Python is a console that performs the
essential functions of banking software. It lets the user create a new account, view
the account’s records, make deposits and withdrawals, and edit account details. It’s
quite a simple project, so even if you don’t have any experience in working on
Python projects, you can quickly get started with this one.

The bank management system project is a program that keeps track of a client’s
bank account. This project demonstrates the operation of a banking account system
and covers the essential functions of bank management software. It develops a
project for resolving a customer’s financial applications in a banking environment
to meet the needs of an end banking user by providing multiple ways to complete
banking chores. Additionally, this project is to provide additional features to the
user’s workspace that are not available in a traditional banking project. The
project’s bank management system is built on cutting-edge technologies. This
project’s main goal is to create software for a bank account management system.
This project was designed to make it simple and quick to complete previously
impossible processes with manual systems which are now possible with this
software.
ABOUT PROJECT
The Bank Management System (BMS) is a web-based tool that is used to
reimburse financial institutions for services rendered to the Bureau of the Fiscal
Service. In addition, BMS provides analytical tools for reviewing and approving
salaries, budgets, and outflows.

Project Objectives: The goal of the bank management system project is to create
an organic and optimal software of interaction between the various banking
components. This is to maximize the profit of the banking mechanism. The
implementation of competent bank management procedures is significantly
responsible for the successful optimization of the bank’s productivity and activities.

The project’s main goal is to create an online banking system for banks. All
banking work is done manually in the current system. To withdraw or deposit
money, the user must go to the bank. Today, it is also hard to find account
information for people who have accounts in the banking system.

Project Scope: Depending on the bank’s policies, bank personnel and/or customers
can utilize the Banking Management System. It can be utilized by multiple
employees at the same time if they have the necessary permissions. Any web
browser with a graphical interface can be used to access it.

The bank management system project documentation is consist of chapters 1 to


5. This documentation for bank management contains the introduction, RRLs,
methodologies, evaluation, and recommendations. Here’s the PDF file of bank
management system project documentation to view its whole content.

Bank Management System ER Diagram

The ER diagram for the bank management system was made based on
bank requirements. It can encode customer information and banking
transactions.
The admin can have access to the customer status and information for the
important transactions. They can handle the data needed in managing
customer and employee files as well as the transactions made by the
customer and staff.
Bank Management System DFD

The Data Flow Diagram (DFD) represents the flow of data and
the transformations in the Bank Management System. It discusses the overall
definition of input, processing, and output.

The bank management system DFD has three levels explaining the content of the
data flow diagram.
Bank Management System Activity Diagram

The bank management system activity diagram is a designed illustration that shows
the system’s behavioral aspect. It shows the bank management system’s behavior in
terms of responding to its users or clients.
\
WHY PYTHON

Python is a great programming language developed by Guido Van Rossum back in the
nineteen-eighties. We term the language as outstanding due to its great features.
Since the eighties, this language has grown from just a simple scripting language to a
reliable and mature language with community support and extensive libraries. Python
has grown in terms of usage bearing more and more users almost every day while
retaining consistent users. To put it in black and white, Python overtook java back in
October 2021 to become the top-most programming language worldwide, impressive.
ython can be defined as a high-level, interpreted, object-oriented programming
language bearing dynamic semantics. Now let us break down those complex terms:

Interpreted: An interpreted language has the interpreter processing each line of your
source code one by one on the spot every time you run your program, pausing each
time it encounters an error. A compiled language is the complete opposite of an
interpreted language since it translates the entire code once then reports all the errors.

Object-oriented –OOL (object-oriented languages) implement the object concept


meaning that:

 Data is in terms of field


 Attributes exist
 Code and properties take the methods and procedure form
This code breakdown aims to try and make programming pretty easy while increasing
maintainability and code reusability.

High-level language – a language termed as high level means that it implements


substantial abstractions from the computer’s instructions.

However, all these technical terms should not scare you off, as Python is pretty easy to
learn and use. What’s more, this programming language is multi-purpose and dynamic,
earning the name “universal language.”
SOURCE CODE
import pickle
import os
import pathlib
class Account :
accNo = 0
name = ''
deposit=0
type = ''

def createAccount(self):
self.accNo= int(input("Enter the account no : "))
self.name = input("Enter the account holder name : ")
self.type = input("Ente the type of account [C/S] : ")
self.deposit = int(input("Enter The Initial amount(>=500 for Saving and
>=1000 for current"))
print("\n\n\nAccount Created")

def showAccount(self):
print("Account Number : ",self.accNo)
print("Account Holder Name : ", self.name)
print("Type of Account",self.type)
print("Balance : ",self.deposit)

def modifyAccount(self):
print("Account Number : ",self.accNo)
self.name = input("Modify Account Holder Name :")
self.type = input("Modify type of Account :")
self.deposit = int(input("Modify Balance :"))

def depositAmount(self,amount):
self.deposit += amount

def withdrawAmount(self,amount):
self.deposit -= amount

def report(self):
print(self.accNo, " ",self.name ," ",self.type," ", self.deposit)

def getAccountNo(self):
return self.accNo
def getAcccountHolderName(self):
return self.name
def getAccountType(self):
return self.type
def getDeposit(self):
return self.deposit

def intro():
print("\t\t\t\t**********************")
print("\t\t\t\tBANK MANAGEMENT SYSTEM")
print("\t\t\t\t**********************")

print("\t\t\t\tcreated By:")
print("\t\t\t\tANIKAIT SHARMA")
input()

def writeAccount():
account = Account()
account.createAccount()
writeAccountsFile(account)

def displayAll():
file = pathlib.Path("accounts.data")
if file.exists ():
infile = open('accounts.data','rb')
mylist = pickle.load(infile)
for item in mylist :
print(item.accNo," ", item.name, " ",item.type, " ",item.deposit )
infile.close()
else :
print("No records to display")

def displaySp(num):
file = pathlib.Path("accounts.data")
if file.exists ():
infile = open('accounts.data','rb')
mylist = pickle.load(infile)
infile.close()
found = False
for item in mylist :
if item.accNo == num :
print("Your account Balance is = ",item.deposit)
found = True
else :
print("No records to Search")
if not found :
print("No existing record with this number")

def depositAndWithdraw(num1,num2):
file = pathlib.Path("accounts.data")
if file.exists ():
infile = open('accounts.data','rb')
mylist = pickle.load(infile)
infile.close()
os.remove('accounts.data')
for item in mylist :
if item.accNo == num1 :
if num2 == 1 :
amount = int(input("Enter the amount to deposit : "))
item.deposit += amount
print("Your account is updted")
elif num2 == 2 :
amount = int(input("Enter the amount to withdraw : "))
if amount <= item.deposit :
item.deposit -=amount
else :
print("You cannot withdraw larger amount")

else :
print("No records to Search")
outfile = open('newaccounts.data','wb')
pickle.dump(mylist, outfile)
outfile.close()
os.rename('newaccounts.data', 'accounts.data')

def deleteAccount(num):
file = pathlib.Path("accounts.data")
if file.exists ():
infile = open('accounts.data','rb')
oldlist = pickle.load(infile)
infile.close()
newlist = []
for item in oldlist :
if item.accNo != num :
newlist.append(item)
os.remove('accounts.data')
outfile = open('newaccounts.data','wb')
pickle.dump(newlist, outfile)
outfile.close()
os.rename('newaccounts.data', 'accounts.data')
def modifyAccount(num):
file = pathlib.Path("accounts.data")
if file.exists ():
infile = open('accounts.data','rb')
oldlist = pickle.load(infile)
infile.close()
os.remove('accounts.data')
for item in oldlist :
if item.accNo == num :
item.name = input("Enter the account holder name : ")
item.type = input("Enter the account Type : ")
item.deposit = int(input("Enter the Amount : "))

outfile = open('newaccounts.data','wb')
pickle.dump(oldlist, outfile)
outfile.close()
os.rename('newaccounts.data', 'accounts.data')

def writeAccountsFile(account) :

file = pathlib.Path("accounts.data")
if file.exists ():
infile = open('accounts.data','rb')
oldlist = pickle.load(infile)
oldlist.append(account)
infile.close()
os.remove('accounts.data')
else :
oldlist = [account]
outfile = open('newaccounts.data','wb')
pickle.dump(oldlist, outfile)
outfile.close()
os.rename('newaccounts.data', 'accounts.data')

# start of the program


ch=''
num=0
intro()

while ch != 8:
#system("cls");
print("\tMAIN MENU")
print("\t1. NEW ACCOUNT")
print("\t2. DEPOSIT AMOUNT")
print("\t3. WITHDRAW AMOUNT")
print("\t4. BALANCE ENQUIRY")
print("\t5. ALL ACCOUNT HOLDER LIST")
print("\t6. CLOSE AN ACCOUNT")
print("\t7. MODIFY AN ACCOUNT")
print("\t8. EXIT")
print("\tSelect Your Option (1-8) ")
ch = input()
#system("cls");

if ch == '1':
writeAccount()
elif ch =='2':
num = int(input("\tEnter The account No. : "))
depositAndWithdraw(num, 1)
elif ch == '3':
num = int(input("\tEnter The account No. : "))
depositAndWithdraw(num, 2)
elif ch == '4':
num = int(input("\tEnter The account No. : "))
displaySp(num)
elif ch == '5':
displayAll();
elif ch == '6':
num =int(input("\tEnter The account No. : "))
deleteAccount(num)
elif ch == '7':
num = int(input("\tEnter The account No. : "))
modifyAccount(num)
elif ch == '8':
print("\tThanks for using bank managemnt system")
break
else :
print("Invalid choice")

ch = input("Enter your choice : ")


SCREENSHOTS
REFRENCES

 Python Crash Course: A Hands-On, Project-Based Introduction to Programming (2nd Edition)

 Some internet source like:- https://www.w3schools.com/, https://www.geeksforgeeks.org/,


https://google.com , etc

You might also like