Пример #1
0
 def get(self):
     loader = Loader("./")
     bl = db.getAvailableBanksWithMark()
     t = util.getFetchedTime()
     self.write(
         loader.load("index.html").generate(availableBanks=bl,
                                            fetchedTime=t))
Пример #2
0
from scratch import cmb
from scratch import ccb
from scratch import ceb
from scratch import cmbc
from scratch import abc
from scratch import ecitic
from scratch import comm
from scratch import psbc
from scratch import bea
from scratch import dalian
from scratch import cqrcb
from scratch import spdb
from scratch import cib
from scratch import pingan
from scratch import beijing
from scratch import nbcb
from scratch import hxb
from scratch import icbc
from scratch import boc
from scratch import wenzhou

#banks = [wenzhou,]

#for bank in banks:
#bl = bank.BanksGetter().fetchBankList();
#if bl != None:
#for b in bl:
#print b
for t in db.getAvailableBanksWithMark():
    print t["name"].encode("utf-8"), t["today"]
Пример #3
0
from scratch import cmb
from scratch import ccb
from scratch import ceb
from scratch import cmbc
from scratch import abc
from scratch import ecitic
from scratch import comm
from scratch import psbc
from scratch import bea
from scratch import dalian
from scratch import cqrcb
from scratch import spdb
from scratch import cib
from scratch import pingan
from scratch import beijing
from scratch import nbcb
from scratch import hxb
from scratch import icbc
from scratch import boc
from scratch import wenzhou

#banks = [wenzhou,]

#for bank in banks:
    #bl = bank.BanksGetter().fetchBankList();
    #if bl != None:
        #for b in bl:
            #print b
for t in db.getAvailableBanksWithMark():
    print t["name"].encode("utf-8"), t["today"];
Пример #4
0
 def get(self):
     loader = Loader("./");
     bl = db.getAvailableBanksWithMark();
     t = util.getFetchedTime();
     self.write(loader.load("index.html").generate(availableBanks=bl, fetchedTime=t));