How to use the texttable.Texttable.__init__ function in texttable

To help you get started, we’ve selected a few texttable examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cisco-system-traffic-generator / trex-core / scripts / automation / trex_control_plane / interactive / trex / utils / text_tables.py View on Github external
def __init__(self, title = None):
        Texttable.__init__(self)
        # set class attributes so that it'll be more like TRex standard output
        self.set_chars(['-', '|', '+', '-'])
        self.set_deco(Texttable.HEADER | Texttable.VLINES)
        self.title = title
github cisco-system-traffic-generator / trex-core / scripts / automation / trex_control_plane / interactive / trex / utils / text_tables.py View on Github external
def __init__(self, title = None):
        Texttable.__init__(self)
        # set class attributes so that it'll be more like TRex standard output
        self.set_chars(['-', ':', '-', '-'])
        self.set_deco(Texttable.VLINES)
        self.title = title