fewfef
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
from pathlib import Path
|
||||
|
||||
from peewee import *
|
||||
|
||||
# 连接到 SQLite 数据库,如果文件不存在会自动创建
|
||||
db = SqliteDatabase(r'database.db')
|
||||
db = SqliteDatabase(fr'{Path(__file__).parent}/database.db')
|
||||
|
||||
import pymysql
|
||||
|
||||
|
||||
Reference in New Issue
Block a user