def show_messages(self):
        """Show all messages."""
        string = self.header
        if self.static_message is not None:
            string += self.static_message.to_html()

        for message in self.dynamic_messages:
            string += message.to_html()

        string += self.footer
        print(string)
        self.setHtml(string)
def show_messages ( self ) : string = self . header if self . static_message is not None : string += self . static_message . to_html ( ) for message in self . dynamic_messages : string += message . to_html ( ) string += self . footer print ( string ) self . setHtml ( string )
Show all messages.