def _display ( self , layout ) : print ( file = self . out ) TextWriter ( ) . format ( layout , self . out )
python printing text in design
launch layouts display
def _display(self, layout):
        """launch layouts display"""
        print(file=self.out)
        TextWriter().format(layout, self.out)