Module Expr Str ImportFrom alias Import alias Assign NameStore ListLoad Str Str Assign NameStore TupleLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Str Str Str Str Str Call NameLoad Call NameLoad Num Num Delete SubscriptDel NameLoad Index Str Assign NameStore Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Str Str Str Str Str Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Call NameLoad ListLoad Str Str Str Str Str Str Str Str Call NameLoad Call NameLoad Num Num Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Str If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMod NameLoad TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMod NameLoad TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body Assign NameStore BinOpMod NameLoad TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad kwarg body Expr Str Expr Call NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Str Expr Call NameLoad Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad Str Str Expr Call NameLoad BinOpMult Str Num Expr Call NameLoad Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str Expr Call NameLoad Str keyword Str keyword Str Expr Call NameLoad BinOpMult Str Num Expr Call NameLoad Str Expr Call NameLoad Str Str keyword ListLoad Str Expr Call NameLoad Str Str keyword ListLoad Str Expr Call NameLoad Str Str keyword ListLoad Str Expr Call NameLoad Str Str keyword ListLoad Str Expr Call NameLoad Str Str keyword ListLoad Str Expr Call NameLoad Str Str keyword ListLoad Str Expr Call NameLoad Str Str keyword ListLoad Str Str Str Expr Call NameLoad Str Str keyword ListLoad Str Str Str Expr Call NameLoad BinOpMult Str Num Expr Call NameLoad Str Expr Call NameLoad Str Str Str ListLoad Str Expr Call NameLoad Str Str Str ListLoad Str
N/A N/A ANSII Color formatting for output in terminal. __future__ print_function N/A os N/A __ALL__ N/A colored cprint N/A VERSION N/A 1 1 0 N/A ATTRIBUTES N/A dict N/A list N/A zip N/A bold dark underline blink reverse concealed N/A list N/A range 1 9 N/A N/A ATTRIBUTES N/A N/A HIGHLIGHTS N/A dict N/A list N/A zip N/A on_grey on_red on_green on_yellow on_blue on_magenta on_cyan on_white N/A list N/A range 40 48 N/A COLORS N/A dict N/A list N/A zip N/A grey red green yellow blue magenta cyan white N/A list N/A range 30 38 N/A RESET [0m colored N/A N/A text color on_color attrs N/A None None None N/A N/A Colorize text.

    Available text colors:
        red, green, yellow, blue, magenta, cyan, white.

    Available text highlights:
        on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white.

    Available attributes:
        bold, dark, underline, blink, reverse, concealed.

    Example:
        colored('Hello, World!', 'red', 'on_grey', ['blue', 'blink'])
        colored('Hello, World!', 'green')
     N/A N/A N/A N/A os getenv ANSI_COLORS_DISABLED None N/A N/A fmt_str [%dm%s N/A N/A color None N/A N/A text N/A fmt_str N/A N/A COLORS N/A color text N/A N/A on_color None N/A N/A text N/A fmt_str N/A N/A HIGHLIGHTS N/A on_color text N/A N/A attrs None N/A N/A attr attrs N/A N/A text N/A fmt_str N/A N/A ATTRIBUTES N/A attr text N/A text RESET N/A text N/A cprint N/A N/A text color on_color attrs N/A None None None kwargs N/A N/A Print colorize text.

    It accepts arguments of print function.
     N/A N/A print N/A colored text color on_color attrs kwargs N/A N/A N/A __name__ __main__ N/A N/A N/A print N/A Current terminal type: %s N/A N/A os getenv TERM N/A N/A print Test basic colors: N/A N/A cprint Grey color grey N/A N/A cprint Red color red N/A N/A cprint Green color green N/A N/A cprint Yellow color yellow N/A N/A cprint Blue color blue N/A N/A cprint Magenta color magenta N/A N/A cprint Cyan color cyan N/A N/A cprint White color white N/A N/A print N/A - 78 N/A N/A print Test highlights: N/A N/A cprint On grey color on_color on_grey N/A N/A cprint On red color on_color on_red N/A N/A cprint On green color on_color on_green N/A N/A cprint On yellow color on_color on_yellow N/A N/A cprint On blue color on_color on_blue N/A N/A cprint On magenta color on_color on_magenta N/A N/A cprint On cyan color on_color on_cyan N/A N/A cprint On white color color grey on_color on_white N/A N/A print N/A - 78 N/A N/A print Test attributes: N/A N/A cprint Bold grey color grey attrs N/A bold N/A N/A cprint Dark red color red attrs N/A dark N/A N/A cprint Underline green color green attrs N/A underline N/A N/A cprint Blink yellow color yellow attrs N/A blink N/A N/A cprint Reversed blue color blue attrs N/A reverse N/A N/A cprint Concealed Magenta color magenta attrs N/A concealed N/A N/A cprint Bold underline reverse cyan color cyan attrs N/A bold underline reverse N/A N/A cprint Dark blink concealed white color white attrs N/A dark blink concealed N/A N/A print N/A - 78 N/A N/A print Test mixing: N/A N/A cprint Underline red on grey color red on_grey N/A underline N/A N/A cprint Reversed green on red color green on_red N/A reverse