Answer the question
In order to leave comments, you need to log in
How to OUTPUT all rows from a sqlite database in python?
Hello.
The task is to display all rows from the sqlite database.
conn = sqlite3.connect('D:/squadybot.sqlite')
cur = conn.cursor()
cur.execute("SELECT * FROM tasks")
row = cur.fetchone()
rowcontains only the first line. How to get everything out?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question