@staticmethod<EOL><INDENT>def strip( text ):<DEDENT>
members = [attr for attr in Colors.__dict__.keys() if not attr.startswith( "<STR_LIT>" ) and not attr == '<STR_LIT>']<EOL>for c in members:<EOL><INDENT>text = text.replace( vars( Colors )[c], '<STR_LIT>' )<EOL><DEDENT>return text<EOL>
Strips all color codes from a text.