def delete_table(self, tablename):
        """
            Deletes a table from the database.
        """
        self.tables = filter(lambda x: x.name != tablename, self.tables)
def delete_table ( self , tablename ) : self . tables = filter ( lambda x : x . name != tablename , self . tables )
Deletes a table from the database.