Module pyinotify :: Class Color
[hide private]
[frames] | no frames]

Class Color

source code

object --+
         |
        Color

Internal class. Provide fancy colors used by string representations.

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
punctuation(s)
Punctuation color.
source code
 
field_value(s)
Field value color.
source code
 
field_name(s)
Field name color.
source code
 
class_name(s)
Class name color.
source code
 
simple(s, color) source code
Class Variables [hide private]
  normal = '\x1b[0m'
  black = '\x1b[30m'
  red = '\x1b[31m'
  green = '\x1b[32m'
  yellow = '\x1b[33m'
  blue = '\x1b[34m'
  purple = '\x1b[35m'
  cyan = '\x1b[36m'
  bold = '\x1b[1m'
  uline = '\x1b[4m'
  blink = '\x1b[5m'
  invert = '\x1b[7m'
Properties [hide private]

Inherited from object: __class__