コード例 #1
0
 def __init__(self, day_from, day_to, user, password, db,charset='utf8',host='localhost',port=3306):
     self.__day_from = day_from
     self.__day_to   = day_to
     self.__db_mgr = db_wraper(user,password,db,charset,host,port)
     self.__the_date_han_info = None
     self.get_the_date_han_info()
コード例 #2
0
 def __init__(self, user, password, db,charset='utf8',host='localhost',port=3306):
     self.__db_mgr = db_wraper(user,password,db,charset,host,port)