console.py
Go to the documentation of this file.
00001 
00002 ##############################################################################
00003 # Console Output
00004 ##############################################################################
00005 
00006 class Console:
00007     bold = "\033[1m"
00008     reset = "\033[0;0m"
00009     red = "\033[31m"
00010 
00011 def red_string(msg):
00012     """bound string with console symbols for red output"""
00013     return Console.red + msg + Console.reset
00014 
00015 def bold_string(msg):
00016     """bound string with console symbols for bold output"""
00017     return Console.bold + msg + Console.reset


qt_create
Author(s): Daniel Stonier
autogenerated on Fri Aug 28 2015 12:16:18