Bank Managementsystem
Bank Managementsystem
Bank Managementsystem
This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization can
be obtained by clicking the button. Moreover, now it’s an age of
computers of and automating such an organization gives the
better look.
SYSTEM DEVELOPMENT LIFE CYCLE
DEVELOPMENT PHASE
The development phase involves converting design
specifications into executable programs. Effective
development standards include requirements that
programmers and other project participants discuss design
specifications before programming begins. The procedures
help ensure programmers clearly understand program
designs and functional requirements. Programmers use various
techniques to develop computer programs. The large
transaction-oriented programs associated with financial
institutions have traditionally been developed using
procedural programming techniques. Procedural
programming involves the line-by-line scripting of logical
instructions that are combined to form a program. Effective
completion of the previous stages is a key factor in the
success of the Development phase. The Development phase
consists of:
Translating the detailed requirements and design into
system components.
Testing individual elements (units) for usability.
Preparing for integration and testing of the IT system.
TESTING METHODS
Software testing methods are traditionally divided into
black box testing and white box testing. These two approaches are used
to describe the point of view that a test engineer takes
when designing test cases.
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
INSTALLATION PROCEDURE
Install python and my sql from the web.
Open mysql and create the database bank
Then run the table.py file.
Next run the user_table.py file.
Then the transactions_table.pyfile .
Open the main bank file.
Then register your account.
BIBLIOGRAPHY
1. Computer science With Python - Class XIIBy : Sumita
Arora
2. A Project Report on Blood Bank Management System (BBMS)
By : Praveen M Jigajinni
3. Website: https://www.w3resource.com
4. https://en.wikipedia.org/wiki/E_(mathematical_constant)
FLOW CHART
1. REGISTER
2. LOGIN
MENU IS DISPLAYED
2.TRANSACTION
3.CUSTOMER DETAILS
4. TRANSACTION DETAILS
5. DELETE ACCOUNT
6.QUIT
IF N=3/4 DATA IS
IF N=1/2/5/6 DATA IS
FETCHED FROM THE
INSERTED IN THE
DATA
DATABASE
ACKNOWLEDGEMENT
I want to express my deep sense of gratitude to my esteemed teachers of
Computer Science department
Mr.Sujitkumar Dora, Mr.Rajkumar Pradhan. Without their scholarly
guidance and judicious suggestions, it would not have been possible on
my part to complete this project in time.
I am also thankful to Shri Sisir Prasad Raula, Principal, Vikash
Residential School, Bargarh
who helped me with his most valuable suggestions to complete this
project with utmost confidence.
I am thankful to Shri C.R Pati, Vice Principal, Vikash Residential
School and all of my teachers of Vikash Residential School,
Bargarh without their help it would not have been fruitful on my part to
collect all the relevant facts and figures of the project they helped me in
my collection of data and required information for this project.
2 INTRODUCTION
3 OBJECTIVE OF THE PROJECT
4 PROPOSED SYSTEM
5 SYSTEM DEVELOPMENT LIFE CYCLE(SDLC)
6 PHASES OF SDLC
7 FLOW CHART
8 SOURCE CODE
9 OUTPUT
10 TESTING
11 HARDWARE AND SOFTWARE REQUIREMENTS
12 INSTALLATION PROCEDURE
13 BIBILOGRAPHY
SOURCE CODE
TABLE.PY
import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='manager',databas
e='bank')
if conn.is_connected():
print('connected succesfully')
cur=conn.cursor()
cur.execute('create table customer_details(acct_noint)
primary key,acct_namevarchar(25) ,phone_nobigint(25)
check(phone_no>11),address varchar(25),cr_amt
float )')
MENU.PY
import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd=
'manager',
database='bank')
cur = conn.cursor()
conn.autocommit = True
print('1.CREATE BANK ACCOUNT')
print('2.TRANSACTION')
print('3.CUSTOMER DETAILS')
print(‘4.TRANSACTION DETAILS’)
print('5.DELETE DETAILS')
print('6.QUIT')
if n == 2:
acct_no=int(input('Enter Your Account Number='))
cur.execute('select * from customer_details where
acct_no='+str (acct_no)
data=cur.fetchall()
count=cur.rowcount
conn.commit()
if count == 0:
print('Account Number Invalid Sorry Try Again
Later’)
else:
print('1.WITHDRAW AMOUNT')
print('2.ADD AMOUNT')
x=int(input('Enter your CHOICE='))
if x == 1:
amt=int(input('Enter withdrawl amount='))
cur.execute('update customer_details set
cr_amt=cr_amt-'+str(amt) + ' where acct_no='
+str(acct_no) )
conn.commit()
print('Account Updated Succesfully!!!!!')
if x== 2:
amt=int(input('Enter amount to be added='))
cur.execute('update customer_details set
cr_amt=cr_amt+'+str(amt) + ' where acct_no='
+str(acct_no) )
conn.commit()
print('Account Updated Succesfully!!!!!')
if n == 3:
acct_no=int(input('Enter your account number=')
cur.execute('select * from customer_details where
acct_no='+str(acct_no) )
ifcur.fetchone() is None:
print('Invalid Account number')
else:
cur.execute('select * from customer_details where
acct_no='+str(acct_no) )
data=cur.fetchall()
for row in data:
print('ACCOUNT NO=',acct_no)
print('ACCOUNT NAME=',row[1])
print(' PHONE NUMBER=',row[2])
print('ADDRESS=',row[3])
print('cr_amt=',row[4])
if n== 4:
acct_no=int(input('Enter your account number='))
print()
cur.execute('select * from customer_details where )
acct_no=+str(acct_no)
if cur.fetchone() is None:
print()
print('Invalid Account number')
else:
cur.execute('select * from transactions where
acct_no='+str(acct_no) )
data=cur.fetchall()
for row in data:
print('ACCOUNT NO=',acct_no)
print()
print('DATE=',row[1])
print()
print(' WITHDRAWAL AMOUNT=',row[2])
print()
if n == 5:
print('DELETE YOUR ACCOUNT')
acct_no=int(input('Enter your account number='))
cur.execute('delete from customer_details where
acct_no='+str(acct_no) )
print('ACCOUNT DELETED SUCCESFULLY')
if n == 6:
quit()
MAIN.PY
import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='manager',databas
e='bank')
cur = conn.cursor()
cur.execute('create table user_table(username varchar(25)
primarykey, passwrdvarchar(25) not null )')
print('1.REGISTER')
print('2.LOGIN')
n=int(input('enter your choice='))
if n== 1:
name=input('Enter a Username=')
passwd=int(input('Enter a 4 DIGIT Password='))
V_SQLInsert="INSERT INTOuser_table
(passwrd,username) values (" + str (passwd) +
",' " + name + " ') "
cur.execute(V_SQLInsert)
conn.commit()
print('USER created succesfully')
if n==2 :
name=input('Enter your Username=')
passwd=int(input('Enter your 4 DIGIT Password='))
V_Sql_Sel="select * from user_table where
"'"
cur.execute(V_Sql_Sel)
ifcur.fetchone() is None:
print('Invalid username or password')
else:
import main
.