copyxnat.pyreporter.console module
Output text to the console
-
class copyxnat.pyreporter.console.AnsiCodes[source]
Bases: object
ANSI sequences for console output operations
-
CLEAR = '\x1b[K'
-
CYAN = '\x1b[96m'
-
END = '\x1b[0m'
-
GREEN = '\x1b[92m'
-
RED = '\x1b[91m'
-
YELLOW = '\x1b[93m'
-
class copyxnat.pyreporter.console.Console[source]
Bases: object
Output text to the console
-
end_sticky()[source]
Clear sticky text, but keep previous sticky text in console
-
sticky_text(text)[source]
Print sticky text, which will stay as final output line even if
other text is printed
-
text(message, color=None)[source]
Output text without interfering with sticky text