console.py
Go to the documentation of this file.
1 
2 ##############################################################################
3 # Console Output
4 ##############################################################################
5 
6 class Console:
7  bold = "\033[1m"
8  reset = "\033[0;0m"
9  red = "\033[31m"
10 
11 def red_string(msg):
12  """bound string with console symbols for red output"""
13  return Console.red + msg + Console.reset
14 
15 def bold_string(msg):
16  """bound string with console symbols for bold output"""
17  return Console.bold + msg + Console.reset
Console Output.
Definition: console.py:6
def red_string(msg)
Definition: console.py:11
def bold_string(msg)
Definition: console.py:15


qt_create
Author(s): Daniel Stonier
autogenerated on Wed Mar 11 2020 03:12:19