def rowmap(self, rows):
        """ returns a dictionary with column names as keys and values
        """
        cols = [column[0] for column in self.cur.description]
        return [dict(zip(cols, row)) for row in rows]
 returns a dictionary with column names as keys and values
        
recipes/Python/576589_Compare_MySQL_DB/recipe-576589.py