import sqlite3 connect = sqlite3.connect("Database.db") cursor = connect.cursor() cursor.execute("SELECT * FROM table")