Connecting to SQLite database



examples/sqlite/sql_connect.py
import sqlite3

conn = sqlite3.connect("sample.db")
c = conn.cursor()

# use the database here

conn.close()