code: def out(msg, error=False):
          " Send message to shell "
          pipe = stdout
          if error:
              pipe = stderr
              msg = color_msg(msg, "warning")
  
          pipe.write("%s\n" % msgf out(msg, error=False):
          " Send message to shell "
          pipe = stdout
          if error:
              pipe = stderr
              msg = color_msg(msg, "warning")
  
          pipe.write("%s\n" % msg)
docs: Send message to shell