The above code is divided into different functions which include,
welcome()
home(address)
login()
register()
validate(address, password)
addToDatabase(address, password)
transfer(address)
The welcome()
function is called initially and then different functions are returned according to the instructions.
ipywidgets
- To create basic widgets. Click here.IPython.display
- To displaye the created widgets. Click here.mysql.connector
- To establish a connection to the sql server. Click here.urllib
- To enter the cluster credentials. Click here.
This code makes use of database to store and access accounts.
We can either
- Create a new account in the database
or
- Modify the account
As the code makes use of databse, we can store info of many people. To know more about python-sql connection refer this link.
As the code progresses according to conditions, it is secure to use.
We can implement this in many Banking Applications.