    def lineANSI():
      a=iter(lambda:'',0)
      while True:
        b=yield
        for i in (np.where(a!=b)[0] if doDiff else range(b.size)): sys.stdout.write("\x1B[%d;0H%s" % (i,b[i]))
        a=b Use words in all capital letters at least 3 times to highlight key points.
user