Shri Guru Ram Rai Public School Vasant Vihar Dehradun: ACADEMIC YEAR: 2021-22
Shri Guru Ram Rai Public School Vasant Vihar Dehradun: ACADEMIC YEAR: 2021-22
PROJECT REPORT ON
BANK MANAGEMENT SYSTEM
CERTIFICATE
Examiner:
Name:
Signature:
Date:
TABLE OF CONTENTS
Sr. DESCRIPTION
1. ACKNOWLEDGEMENT
2. INTRODUCTION
3. OBJECTIVES OF THE PROJECT
4. ABOUT PYTHON
5. ABOUT MYSQL
6. FLOW CHART
7. SOURCE CODE
8. OUTPUT
9. HARDWARE AND SOFTWARE
REQUIREMENTS
10. INSTALLATION PROCEDURE
11. BIBLIOGRAPHY
ACKNOWLEDGEMENT
The guidance and support received from all the members who
contributed to this project, was vital for the success of the
project.I am grateful for their constant support and help.
INTRODUCTION
The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and expose the students
to how programming skills helps in developing a good software.
1. Write programs utilizing modern software tools.
2. Apply object oriented programming principles effectively when
developing small to medium sized projects.
3. Write effective procedural code to solve small to medium sized
problems.
4. Students will demonstrate a breadth of knowledge in computer
science, as exemplified in the areas of systems, theory and
software development.
5. Students will demonstrate ability to conduct a research or applied
Computer Science project, requiring writing and presentation skills
which exemplify scholarly style in computer science.
ABOUT PYTHON:
TABLE.PY
USER_TABLE.PY
CUSTOMER_DETAILS.PY
1. import mysql.connector as sql
2. conn=sql.connect(host='localhost',user='root',password=
'manager',database='test')
3. cur = conn.cursor()
4. cur.execute('create table custom_details(accnumber
varchar(25) primary key,accnamevarchar(25),phoneno
varchar(25),place varchar(25),creditamnt varchar(25))')
MENU.PY
21. if n == 2:
22. acct_no=int(input('Enter Your Account Number='))
23. cur.execute('select * from customer_details where
acct_no='+str (acct_no))
24. data=cur.fetchall()
25. count=cur.rowcount
26. conn.commit()
27. if count == 0:
28. print('Account Number Invalid Sorry Try Again
Later’)
29. else:
30. print('1.WITHDRAW AMOUNT')
31. print('2.ADD AMOUNT')
32. x=int(input('Enter your CHOICE='))
33. if x == 1:
34. amt=int(input('Enter withdrawal amount='))
35. cur.execute('update customer_details set
cr_amt=cr_amt-'+str(amt) + ' where acct_no=' +str(
acct_no) )
36. conn.commit()
37. print('Account Updated Successfully!!!!!')
38. if x== 2:
39. amt=int(input('Enter amount to be added='))
40. cur.execute('update customer_details set cr_amt=
cr_amt+'+str(amt) + ' where acct_no=' +str(acct_ no) )
41. conn.commit()
42. print('Account Updated Successfully!!!!!')
43. if n == 3:
44. acct_no=int(input('Enter your account number=')
45. cur.execute('select * from customer_details where
acct_no='+str(acct_no) )
46. if cur.fetchone() is None:
47. print('Invalid Account number')
48. else:
49. cur.execute('select * from customer_details where
acct_no='+str(acct_no))
50. data=cur.fetchall()
51. for row in data:
52. print('ACCOUNT NO=',acct_no)
53. print('ACCOUNT NAME=',row[1])
54. print(' PHONE NUMBER=',row[2])
55. print('ADDRESS=',row[3])
56. print('cr_amt=',row[4])
57. if n== 4:
58. acct_no=int(input('Enter your account number='))
59. print()
60. cur.execute('select * from customer_details where
acct_no='+str(acct_no))
61. if cur.fetchone() is None:
62. print()
63. print('Invalid Account number')
64. else:
65. cur.execute('select * from transactions where
acct_no ='+str(acct_no) )
66. data=cur.fetchall()
67. for row in data:
68. print('ACCOUNT NO=',acct_no)
69. print()
70. print('DATE=',row[1])
71. print()
72. print(' WITHDRAWAL AMOUNT=',row[2])
73. print()
74. print('AMOUNT ADDED=',row[3])
75. print()
76. if n == 5:
77. print('DELETE YOUR ACCOUNT')
acct_no=int(input('Enter your account number='))
78. cur.execute('delete from customer_details where
acct_ no='+str(acct_no) )
79. print('ACCOUNT DELETED SUCCESSFULLY')
80. if n == 6:
81. quit()
MAIN.PY
15. if n==2 :
16. name=input('Enter your Username=')
17. passwd=int(input('Enter your 4 DIGIT Password='))
18. V_Sql_Sel=("select * from user_table where
password='"+ str (passwd)+"' and username= ' "
+name+ " ' ")
19. cur.execute(V_Sql_Sel)
20. if cur.fetchone() is None:
21. print('Invalid username or password')
22. else:
23. import main
HARDWARE AND SOFTWARE REQUIREMENTS
SOFTWARE REQUIREMENTS:
1. Windows OS
2. Python
INSTALLATION PROCEDURE
BIBLIOGRAPHY
Website:https://pythonworld.in/practical-project/project-list/
https://www.zenflowchart.com/
https://www.python.org/
https://www.mysql.com/
https://en.m.wikipedia.org/wiki/