campy.io.console module

File: console.py

This file redirects the <code>cin</code>, <code>cout</code>, and <code>cerr</code> channels to use a console window. This file must be included in the source file that contains the <code>main</code> method, although it may be included in other source files as well.

class campy.io.console.Console[source]

Bases: object

clear_console()[source]
console_print_exceptions
class campy.io.console.ConsoleCloseOperation[source]

Bases: enum.IntEnum

CONSOLE_DISPOSE_ON_CLOSE = 2
CONSOLE_DO_NOTHING_ON_CLOSE = 0
CONSOLE_EXIT_ON_CLOSE = 3
CONSOLE_HIDE_ON_CLOSE = 1