def __str__(self):
        """ 
        It returns a htmlized representation for attributes 
        which are inside self.
        """

        data = ''
        for key, value in self.items():
            pair = '%s="%s" ' % (key, value)
            data = data + pair

        return data
dataset/ETHPy150Open iogf/ehp/ehp.py/Attribute.__str__/original