connect connect() Opens the database connection and creates a cursor. Sets connection.row_factory to sqlite3.Row for named column access. Api