PyConsoleScreenBuffer.SetConsoleMode

SetConsoleMode(Mode)

Sets the input or output mode of the console buffer

Parameters

Mode : int

Combination of ENABLE_*_INPUT or ENABLE_*_OUTPUT constants