|
@ -767,7 +767,7 @@ db = sqlite3.connect(<filename>) |
|
|
```python |
|
|
```python |
|
|
cursor = db.execute(<query>) |
|
|
cursor = db.execute(<query>) |
|
|
if cursor: |
|
|
if cursor: |
|
|
cursor.fetchall() # Or cursor.fetchone() |
|
|
|
|
|
|
|
|
<list> = cursor.fetchall() # Or cursor.fetchone() |
|
|
db.close() |
|
|
db.close() |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|