Computer Project Bank Part 2
Computer Project Bank Part 2
1 INTRODUCTION
4 SYSTEM REQUIREMENTS
5 SOURCE CODE
6 SAMPLE INPUT/OUTPUT
7 CONCLUSION
8 BIBLIOGRAPHY
INTRODUCTION
and Modula-3. It has efficient high-level data structures and a simple but effective
typing, together with its interpreted nature, make it an ideal language for scripting
and rapid application development in many areas on most platforms. The Python
interpreter is easily extended with new functions and data types implemented in C or
C++ (or other languages callable from C). Python is also suitable as an extension
and is backed by Oracle. SQL is the core of a relational database which is used for
accessing and managing the database. By using SQL, you can add, update or delete
rows of data, retrieve subsets of information, modify databases and perform many
actions.
association with MySQL i.e. available in the syllabus of CBSE Class XII for the
person's account in a bank. In this project I tried to show the working of a banking
account system and cover the basic functionality of a Bank Account Management
providing various ways to perform banking tasks. Also to enable the user’s work
space to have additional functionalities which are not provided under a conventional
based on relevant technologies. The main aim of this project is to develop software
for Bank Account Management System. This project has been developed to carry
out the processes easily and quickly, which is not possible with the manuals systems,
which are overcome by this software. This project is developed using Python
systems and product development projects or indeed for any activity where you have
manage requirements to ensure they are meeting needs of the customer, while
proving compliance and staying on the schedule and within budget. The impact of a
poorly expressed requirement can bring a business out of compliance or even cause
deliver a high, fast return on investment. The project analyzes the system
other related systems and then come up with system specifications. The system is
then designed in accordance with specifications to satisfy the requirements. The
system design is then implemented with Python and MYSQL. The system is
management system deals with data entry, validation, confirmation and updation
while the interactive system deals with system interaction with the administration
and users. Thus, above features of this project will save transaction time and
transactions one can view the details as and when required. This project emphasises
the creation of new customer accounts and managing the existing account holders in
the bank by making digital system. At the same time one can generate daily reports,
monthly reports and annual reports which can enhance the smooth working of the
system.
easily. Management using pen and paper is absurd in the modern era. On the other
hand, a virtual Bank management system eliminates all these burdens. By using this
system, all reports can be generated quickly. Thus the project aims in creating a
extent.
LIMITATIONS OF THE EXISTING SYSTEM
File lost
human environment. Sometimes due to some human error there may be a loss of
records.
File damaged
When a computerized system is not there file is always lost due to some
accident like spilling of water by some member on file accidentally, besides some
natural disaster like floods or fires may also damage the files.
Space consuming
After the number of records becomes large the space for physical storage of
Cost consuming
HARDWARE REQUIREMENTS
SOFTWARE REQUIREMENTS
Operating System: Windows 98, 2000, XP, 7, 8, 8.1, 10 Tools: Python 3.5, Mysql
SOURCE CODE
MODULE : Main_bank.py
import mysql.connector as sql
conn=sql.connect(user='root', passwd='Smic123@',host='localhost',database='bank')
cur = conn.cursor()
import datetime as dt
print(dt.datetime.now())
print()
print()
print('1.REGISTER')
print()
print('2.LOGIN')
print()
print()
if n== 1:
name=input('Enter a Username=')
print()
print()
V_SQLInsert="INSERT INTO user_table (passwrd,username) values (" + str (passwd) + ",' "
+ name + " ') "
cur.execute(V_SQLInsert)
conn.commit()
print()
import menu
if n==2 :
print()
V_Sql_Sel="select * from user_table where passwrd='"+str (passwd)+"' and username= ' "
+name+ " ' "
cur.execute(V_Sql_Sel)
if cur.fetchone() is None:
print()
else:
print()
import menu
MODULE : Menu.py
import datetime as dt
conn=sql.connect(user='root', passwd='Smic123\"',host='localhost',database='bank')
cur = conn.cursor()
conn.autocommit = True
c = 'y'
while c == 'y':
print()
print()
print('2.TRANSACTION')
print()
print('3.CUSTOMER DETAILS')
print()
print('4.TRANSACTION DETAILS')
print()
print('5.DELETE ACCOUNT')
print()
print('6.QUIT')
print()
print()
if n == 1:
print()
acc_name=input('Enter your ACCOUNT NAME=')
print()
print()
print()
cur.execute(V_SQLInsert)
print()
conn.commit()
if n == 2:
data=cur.fetchall()
count=cur.rowcount
conn.commit()
if count == 0:
print()
print()
else:
print()
print('1.WITHDRAW AMOUNT')
print()
print('2.ADD AMOUNT')
print()
print()
print()
if x == 1:
cr_amt=0
cur.execute(V_SQLInsert)
conn.commit()
print()
if x== 2:
cr_amt=0
cur.execute(V_SQLInsert)
conn.commit()
print()
print()
if cur.fetchone() is None:
print()
else:
data=cur.fetchall()
print('ACCOUNT NO=',acct_no)
print()
print('ACCOUNT NAME=',row[1])
print()
print('PHONE NUMBER=',row[2])
print()
print('ADDRESS=',row[3])
print()
print('cr_amt=',row[4])
if n == 4:
print()
if cur.fetchone() is None:
print()
data=cur.fetchall()
print('ACCOUNT NO=',acct_no)
print()
print('DATE=',row[1])
print()
print('WITHDRAWAL AMOUNT=',row[2])
print()
print('AMOUNT ADDED=',row[3])
print()
if n == 5:
if n == 6:
c='n'
else:
conn=sql.connect(user='root', passwd='Smic123@',host='localhost',database='bank')
if conn.is_connected():
print('connected succesfully')
cur = conn.cursor()
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
conn=sql.connect(user='root', passwd='Smic123@',host='localhost',database='bank')
cur = conn.cursor()
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
conn=sql.connect(user='root', passwd='Smic123@',host='localhost',database='bank')
cur = conn.cursor()
2022-10-27 09:32:03.612826
1.REGISTER
2.LOGIN
Enter a Username=aniletw
1.REGISTER
2.LOGIN
2.TRANSACTION
3.CUSTOMER DETAILS
4.TRANSACTION DETAILS
5.DELETE ACCOUNT
6.QUIT
Enter your CHOICE=1
2.TRANSACTION
3.CUSTOMER DETAILS
4.TRANSACTION DETAILS
5.DELETE ACCOUNT
6.QUIT
1.WITHDRAW AMOUNT
2.ADD AMOUNT
2.TRANSACTION
3.CUSTOMER DETAILS
4.TRANSACTION DETAILS
5.DELETE ACCOUNT
6.QUIT
1.WITHDRAW AMOUNT
2.ADD AMOUNT
2.TRANSACTION
3.CUSTOMER DETAILS
4.TRANSACTION DETAILS
5.DELETE ACCOUNT
6.QUIT
ADDRESS= ETAWAH
cr_amt= 12300.0
2.TRANSACTION
3.CUSTOMER DETAILS
4.TRANSACTION DETAILS
5.DELETE ACCOUNT
6.QUIT
DATE= 2022-10-27
WITHDRAWAL AMOUNT= 0
DATE= 2022-10-27
AMOUNT ADDED= 0
2.TRANSACTION
3.CUSTOMER DETAILS
4.TRANSACTION DETAILS
5.DELETE ACCOUNT
6.QUIT
2.TRANSACTION
3.CUSTOMER DETAILS
4.TRANSACTION DETAILS
5.DELETE ACCOUNT
6.QUIT
After we have completed the project we are sure the problems in the existing system
computerized to reduce human errors and to increase the efficiency. The main focus
of this project is to reduce Human efforts. The maintenance of the records is made
efficient, as all the records are stored in the data file, through which data can be
retrieved easily. The navigation control is provided in all the forms to navigate
through the large amount of records. If the numbers of records are very large then
user has to just type in the search string and user gets the results immediately. The
Account holders are given a particular unique id no, so that they can be accessed
correctly and without errors. Our main aim of the project is to get the correct
information about a particular Account holder available in the bank. The problems,
which existed in the earlier system, have been removed to a large extent. And it is
expected that this project will go a long way in satisfying user’s requirements. The
computerization of the Bank Management System will not only improves the
efficiency but will also reduce human stress thereby indirectly improving human
recourses.
BIBLIOGRAPHY
Websites:
https://www.analyticsvidhya.com/blog/2021/07/3-interesting-python-projects-with-
code-for-beginners/
https://realpython.com/tutorials/projects/
Books: