TTY

class TTY

Console utilities.

No constructor, only static methods are available.

Methods

ColoredOutput() Accessor to the color flag.
GetColor
ShowColors() Accessor to the color flag.
__init__()

x.__init__(…) initializes x; see help(type(x)) for signature

static ColoredOutput()

Accessor to the color flag.

Returns:

flag : bool

Whether colored output is enabled or disabled.

static ShowColors()

Accessor to the color flag.

Parameters:

flag : bool

Enable or disable colored output.