Added import of SQLite3
This commit is contained in:
@ -14,6 +14,7 @@ Take a look here at Python's sqlite driver [documentation](https://docs.python.o
|
|||||||
|
|
||||||
You need to establish a database and a cursor object.
|
You need to establish a database and a cursor object.
|
||||||
```py
|
```py
|
||||||
|
import sqlite3
|
||||||
conn = sqlite3.connect('mydb.db')
|
conn = sqlite3.connect('mydb.db')
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user