code: def run(self):
          
          try:
              self._loop()
          except Exception:
              # Send the exception through the exc_queue, so the parent
              # process can check it.
              typ, val, tb = sys.exc_info()
              tb_lines = traceback.format_exception(typ, val, tb)
              self.exc_queue.put((val, tb_lines))
docs: Runs the printer loop in a subprocess. This is called by
              multiprocessing.