D | colored.py | 93 def color_str(self, color, s, tag=None): argument 99 s, 105 s, 111 def red(self, s): argument 112 print(self.color_str('RED', s, "[ERROR] ")) 115 def green(self, s): argument 117 print(self.color_str('GREEN', s, "[INFO] ")) 120 def yellow(self, s): argument 121 print(self.color_str('YELLOW', s, "[WARNING] ")) 124 def blue(self, s): argument [all …]
|