Forespørgslen om at vise tabeller i en Sqlite-database:
SELECT name FROM sqlite_master
WHERE type='table'
ORDER BY name;
Så dit uddrag bliver:
con = sql.connect(r'/Users/linnk/Desktop/Results/GData.db')
mycur = con.cursor()
mycur.execute("SELECT name FROM sqlite_master WHERE type='table' ORDER BY name;")
available_table=(mycur.fetchall())
Se Sqlite ofte stillede spørgsmål for mere info.