PyConsoleScreenBuffer.SetConsoleTextAttribute

SetConsoleTextAttribute(Attributes)

Sets character attributes for subsequent write operations

Parameters

Attributes : int

Attributes to be set, combination of FOREGROUND_*, BACKGROUND_*, and COMMON_LVB_* constants