r/sqlite • • Dec 05 '22

How to connect SQLite database in python?

https://devhubby.com/thread/how-to-connect-sqlite-database-in-python
0 Upvotes

3 comments sorted by

2

u/octobod Dec 05 '22

2

u/InjAnnuity_1 Dec 05 '22

The examples I saw are missing the

from sqlite3 import *

that would make the examples work.

Fortunately, sqlite3 is a standard library module, so there's nothing extra to install.

1

u/pchemguy Dec 06 '22

Did you bother reading the official Python documentation and following included tutorials?