Posts tagged with 数据库


#!/usr/bin/python # -*- encoding:utf-8 -*- import sqlite3, logging logging.basicConfig(format='%(asctime)s - %(levelname)s : %(message)s', level=logging.DEBUG) class sqldb: ''' SQLite3 数据库操作模型 ''' def __init__(self)…