摘要:
from traceback import format_exc import phoenixdb as pb class Utils(object): def get_db_conn(self, url): """ this function is able to get database connection :param url:... 阅读全文
摘要:
from traceback import format_exc import pymysql as MySQLdb class MySQLUtils(object): def get_db_conn(self, host, user, password, db, log_instance=None, charset='utf8', port=3306): """ ... 阅读全文