scenario.console module

Console management.

class Console

Bases: object

Console management.

class Color

Bases: IntEnum

Log colors.

Color numbers as they are used in the console.

RESET = 0

Code color to reset colors.

WHITE01 = 1

White.

DARKGREY02 = 2

Dark grey.

BLACK30 = 30

Black.

RED31 = 31

Red.

GREEN32 = 32

Green.

YELLOW33 = 33

Yellow.

DARKBLUE34 = 34

Dark blue.

PURPLE35 = 35

Purple.

LIGHTBLUE36 = 36

Light blue.

LIGHTGREY37 = 37

Light grey.

DARKGREY90 = 90

Another dark grey.

RED91 = 91

Another red.

GREEN92 = 92

Another green.

YELLOW93 = 93

Another yellow.

DARKBLUE94 = 94

Another dark blue.

PURPLE95 = 95

Another purple.

LIGHTBLUE96 = 96

Another light blue.

WHITE97 = 97

Another white.

LIGHTGREY98 = 98

Another light grey.

disableconsolebuffering()

Disables stdout & stderr buffering.