SCHOOL
ACKNOWLEDGEMENT
I would like to express my special thanks of
gratitude to my teacher Mrs. Anjali Malkoti as
well as our principal ma’am, who gave me the
golden opportunity to do this wonderful
project. This project also helped me in doing a
lot of research and I came to know about so
many new things.
I am extremely grateful to my friends who gave
valuable suggestions to complete my project.
Hence, I would like to thank all the above
mentioned people once again.
PYTHON INTRODUCTION:
Python programming language was developed by
GUIDO VAN ROSSUM in February 1991.
Python is based on or influenced with 2 programming
language.
1. ABC Language, a teaching language created as
a replacement of BASIC, and
2. modula-3
Python is an easy to learn yet powerful object oriented
programming language. It is a very high level
programming language yet as powerful as many other
middle level not so high languages like C, C++, Java etc.
PYTHON LANGUAGE HAS MANY ADVANTAGES LISTED
BELOW:
1. Easy to use:
Python is compact and very easy to use object
oriented language with simple syntax rules. It is a very
high level language and thus very-very programmer
friendly.
2. Expressive language:
Python has fewer lines of code and simpler
syntax.
2. Interpreted language:
Python is an interpreted language, not a
compiled language. It makes python an ease to debug
language and thus make it suitable for beginners to
advanced level users.
3. Its completeness:
For most types of required functionality is
available through various modules of python standard
library. For e.g., for diverse functionality such as
emails, web pages, databases, GUI development,
network connections and many more everything is
available in python standard library.
4. Gross platform language:
Python can easily well on variety of
platforms- windows, smartphones, smart computers,
Macintosh, Linux/UNIX etc. This means python is a
portable language.
VARIETY OF USAGE AND APPLICATIONS OF PYTHON
PROGRAMMING LANGUAGE:
Python has evolved into a powerful, complete and
useful language over these years. These days, python is
being used in many diverse fields, some of which are
1. Scripting
2. Web applications
3. Game development
4. Database development
5. System administration
6. Rapid prototyping
7. GUI programs
PYTHON FUNCTION TYPES
Python comes preloaded with many function-
definitions that you can use as per your needs. You can
even create new functions. Broadly, Python functions
can belong to one of the following three categories:
1. Built in functions: These are pre-defined functions
and are always available for use. You have used
some of them – len(), type(), int(), input(), etc.
2. Functions defined in modules: These functions are
pre-defined in particular modules and can only be
used when the corresponding module is imported.
For example, if you want to use pre-defined
functions inside a module, say sin( ), you need to
first import the module math (that contains
definition of sin( ))in your program.
3. User defined functions: These are defined by the
programmer. As programmers you can create
your own functions.
In this chapter, you will learn to write your own
Python functions and use them in your programs.
SOME COMMONLY USED PYTHON LIBRARIES
ARE AS LISTED BELOW :
1. Python standard library: This library is
distributed with Python that contains modules for
various types of functionalities. Some commonly
used modules of Python standard libraries are:
Math module, which provides mathematical
functions to support different types of
calculations.
Cmath module, which provides mathematical
functions for complex numbers.
Random module, which provides functions
for generating pseudo-random numbers.
Urllib module, which provides URL handling
functions so that you can access websites
from within your programs.
Statistics module, which provides mathematical
statistics functions.
2. Numpy library: This library provides some
advanced math functionalities along with tools
to create and manipulate numerical arrays.
3. SciPy library: This is another useful library
that offers algorithmic and mathematical tools
for scientific calculations.
4. Tkinter library: This library provides
traditional Python user interface toolkit and
helps you to create user friendly GUI interface
for different types of applications.
5. Malplotlib library: Thus library offers many
functions and tools to produce quality output in
variety of formats such as plots, charts, graphs
etc.
SQL INTRODUCTION
SQL has been designed to query and extract data. One
of its main strengths includes merging
Data from multiple tables within a database. However,
you cannot use SQL exclusively for
Performing higher-level data manipulations
and transformations like regression tests, time
Series, etc. Python’s specialized library, Pandas,
facilitates such data analysis. Therefore, you
can use SQL to fetch data and further manipulate the
structured data using Python.
SQL is not a tough programming language because it is
only a query language. The main
reason behind developing SQL was to make it easy for
common people to get specific data from
the entire database. Once you are done with learning
SQL, you will find it pretty easy to work
with any relational database. The major usage of SQL
is visible in the banking sector. Other than
That, certain technical jobs like software developer,
hosting technician, software quality
assurance, web designer, server management
specialist and database administrator utilize
SQL. Its usage is also visible in different job roles in the
business intelligence and business
Analysis fields. So, we can say that SQL is definitely of
great use.
GENERAL OVERVIEW OF THE PROBLEMS
A bank is a commercial or state institution that
provides financial services, including issuing money in
form of coins, notes or debit cards, receiving deposits
of money, lending money and processing transactions.
In history, the primary purpose of a bank is to provide
liquidity to trading companies. Banks advanced funds
to allow business to purchase inventory, and collected
those funds back with interest when gods are sold. For
centuries, the banking industry only dealt with
business not customers.
In personal Banking system, customer deposits their
money in saving account, and when in need they can
withdraw that money with added some interest
amount. Customer can also send money to any other
customer account or may receive money from others
account. These activities are being done offline from
centuries. But due to digitization of world, these
activities can be done online easily, securely and
efficiently from anywhere anytime.
OBJECTIVE OF PROJECT
The project that we have undertaken aims to develop
a banking system that is clean, user-friendly and multi-
functional. Development of this application includes a
number of fields such that user feels comfortable and
the system appears as dynamic to him.
The project “Banking System” includes the following
functionalities:
Transactions can be done with
minimum user events.
All transactional details and
accounts are stored in database created in
MYSQL.
Customers can view their own
account balance and account profile.
Customers can register
themselves online and can edit their
profile.
Project also promotes online transactions
by giving some bonus amount on registering
online. Hence it promotes Digital India.
‘Initiative of Government of India’.
REQUIREMENT AND ANALYSIS
The application ‘Banking System’ being a small, portable
and having good GUI. A computer system should have
the combination of following hardware and software:
1. Hardware Requirement:
Intel Pentium G630 Dual Core 2.70
GHz Processor
Minimum 2GB RAM DDR3 1333 MHz
At least 500GB HDD
2. Software Requirements:
Windows Vista/7/8/10 OS
Python 3.X IDLE
MYSQL
Tkinter module
DATABASE OF BANKING SYSTEM(picture form)
python coding:
# BankAccount class
class Bankaccount:
def init (self):
This step is followed by declaring that balance is 0
using self-argument then we simply print a statement
welcoming to Machine. In function deposit and
withdraw, amount is taken as input(in float) and is then
added/subtracted to the balance. Thus resultant
balance is printed in next line.
# Function to deposit amount
def deposit(self):
amount = float(input("Enter amount to be deposited: "))
[Link] += amount
print("\n Amount Deposited:", amount)
Use an if condition to check whether there is a
sufficient. Amount of money available in the account to
process a fund withdrawal.
# Function to withdraw the amount
def withdraw(self):
amount = float(input("Enter amount to be withdrawn: "))
if [Link] >= amount:
[Link] -= amount
print("\n You Withdrew:", amount)
else:
print("\n Insufficient balance ")
Next, we use a display function to display the remaining
balance in the account. Then we create a object and call
it to get the program executed.
# Function to display the amount
def display(self):
print("\n Net Available Balance =", [Link])
Below is the implementation:
# Python program to create Bankaccount class
# with both a deposit() and a withdraw() function
class Bank_Account:
def init (self):
[Link]=0
print("Hello!!! Welcome to the Deposit & Withdrawal
Machine")
def deposit(self):
amount=float(input("Enter amount to be Deposited: "))
[Link] += amount
print("\n Amount Deposited:",amount)
def withdraw(self):
amount = float(input("Enter amount to be Withdrawn: "))
if [Link]>=amount:
[Link]-=amount
print("\n You Withdrew:", amount)
else:
print("\n Insufficient balance ")
def display(self):
print("\n Net Available Balance=",[Link])
# Driver code
# creating an object of class
s = Bank_Account()
# Calling functions with that class object
[Link]()
[Link]()
[Link]()
OUTPUT:
Hello !!! Welcome to Deposit &Withdrawal Machine
Enter amount to be deposited:
Amount Deposited: 1000.0
Enter amount to be withdrawn:
You Withdrew: 500.0
Net Available Balance = 500.0
OUTPUT SCREENS:
LOGIN PAGE:
ANOTHER ONE
output screen:
BIBLIOGRAPHY
[Link] WITH SUMITA
ARORA(Textbook of
th
Class 12 ).
[Link]
[Link]
[Link]