<s> import sys <EOL> RED = "<STR_LIT>" ; <EOL> YLW = "<STR_LIT>" ; <EOL> CLR = "<STR_LIT>" ; <EOL> class Printer : <EOL> def __init__ ( self ) : <EOL> pass ; <EOL> def message ( self , msg ) : <EOL> print msg ; <EOL> def error ( self , msg ) : <EOL> print >> sys . stderr , "<STR_LIT>" % ( RED , msg , CLR ) ; <EOL> def warn ( self , msg ) : <EOL> print >> sys . stderr , "<STR_LIT>" % ( YLW , msg , CLR ) ; </s>
