database.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:stalk-the-DMV 作者: thisisandreeeee 项目源码 文件源码
def __init__(self):
        self.logger = Logger()
        self.db = sqlite3.connect('dmv_db')
        self.cur = self.db.cursor()
        self.cur.execute('''
            CREATE table IF NOT EXISTS appointment(ts TEXT, location TEXT, appt_time TEXT);
        ''')
        self.db.commit()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号