MainProgram.py

From OpenHatch wiki
   from banking import *
   the_bank = Bank()
   user_anna = User("Anna","my_password")
   print "Main program created the user " + user_anna.username
   is_logged_in = the_bank.login(user_anna.username, user_anna.password)
   if is_logged_in:
       account_anna = Account(user_anna)
       print "Main program created an account for " + account_anna.user.username
       account_anna.add_money(10)