import sqlite3
conn = sqlite3.connect(r"D:\aaa.db")
Is there a way to automatically create the db file if it doesn't already exist when I connect to it?
The code you give does create 'D:\\aaa.db'
if it doesn't exist.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments