Example #1
0
 def setUp(self) -> None:
     self.ur = User()
     self.ur2 = User()
     self.ad = Address()
     self.ad2 = Address()
     self.dbu = DBTools()
     self.logic = Logic()
from InputHelper import  InputHelper
from Logic_bank import Logic
from DBUtils import DBTools
from User import User
from Address import Address
from Show import Show

ur = User()
ad = Address()
ur.setAddress(ad)
ih = InputHelper()
logic = Logic()
db = DBTools()
show = Show()

#入口方法
def Start():

    #返回值重置
    rt = None
    #死循环
    while True :
        #打印菜单
        show.Menu()
        todo = input(":")
        if todo == "1" :
            print("\n\t开户")
            Xinzeng()
        elif todo == "2" :
            print("\n\t存钱")
            Cunqian()