libcopp  2.2.0
Data Structures | Namespaces | Functions | Variables
print_color.py File Reference

Go to the source code of this file.

Data Structures

class  print_color.print_style
 
class  print_color.Win32ConsoleColor
 
class  print_color.TermColor
 
class  print_color.HtmlColor
 
class  print_color.NoneColor
 

Namespaces

 print_color
 

Functions

def print_color.cprintf_resolve_auto_mode ()
 
def print_color.cprintf_set_mode (mode_name="auto")
 
def print_color.cprintf_set_theme (theme_name=None)
 
def print_color.cprintf_unpack_text (fmt, text)
 
def print_color.cprintf_stdout (options, fmt, *text)
 
def print_color.cprintf_stderr (options, fmt, *text)
 

Variables

 print_color.console_encoding = sys.getfilesystemencoding()
 
string print_color.usage = "usage: %prog [options...] <format message> [format parameters...]"
 
 print_color.parser = OptionParser(usage)
 
 print_color.action
 
 print_color.help
 
 print_color.dest
 
 print_color.metavar
 
 print_color.const
 
 print_color.default
 
 print_color.options
 
 print_color.left_args
 
string print_color.print_stream = "stdout"
 
list print_color.print_options = []
 
list print_color.fc_list = ["FC_" + x.upper() for x in options.color or []]
 
list print_color.bk_list = ["BC_" + y.upper() for y in options.background_color or []]