code: def write(self, text, fg='black', bg='white'):
          '''write to the console'''
          try:
              self.parent_pipe_send.send(Text(text, fg, bg))
          except Exception:
              pasf write(self, text, fg='black', bg='white'):
          '''write to the console'''
          try:
              self.parent_pipe_send.send(Text(text, fg, bg))
          except Exception:
              pass
docs: write to the console