python操作mysql封装成类
摘要:
import pymysqlimport loggingimport sys # 加入日志#获取logger实例logger = logging.getLogger("baseSpider")# 指定输出格式formatter = logging.Formatter('%(asctime)s\ %( 阅读全文
posted @ 2018-06-19 16:44 风声风语 阅读(665) 评论(0) 推荐(0) 编辑