by benno128 · 3y ago · 0 comments
>>> open("data.db", "w+").close()
>>> db = sqlite3.connect("/data.db")
>>> db
<sqlite3.Connection object at 0x8b3fd8>Regular Python doesn't need me to create the file first, I wonder why this works differently.