output(msg, new_line, color)
+def clear():
+ #clear the page
+ if sys.stderr.isatty():
+ sys.stderr.write('\033[H\033[2J')
+
+
class SilentOutput(Output):
pass
def output(self, msg='', new_line=True):
output(msg, new_line)
+ def clear(self):
+ clear()
+
class OutputWthProgress(SimpleOutput):
class _Progress(Bar):