def get_tables(c):
 c.execute("select name from sqlite_master where type='table'")
 return c.fetchall()

def get_tables ( c ) : c . execute ( "select name from sqlite_master where type='table'" ) return c . fetchall ( )
list table names in a given schema .