摘要:
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:... 阅读全文
posted @ 2018-09-12 17:04
下路派出所
阅读(289)
评论(0)
推荐(0)
摘要:
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): """ ... 阅读全文
posted @ 2018-09-12 17:03
下路派出所
阅读(240)
评论(0)
推荐(0)