Answer the question
In order to leave comments, you need to log in
How to get all tables from sqlite3 database?
There is a database base how to display all the tables that are there?
Answer the question
In order to leave comments, you need to log in
con = sqlite3.connect("data.db")
cursor = con.cursor()
cursor.execute("SELECT name FROM sqlite_master WHERE type='table';")
print(cursor.fetchall())
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question