'Returns a list of table names in the current database.'

def get_table_list(self, cursor):

    cursor.execute('SELECT    TABLE_NAME    FROM    USER_TABLES')
    return [row[0].lower() for row in cursor.fetchall()]
