code: def run(self):
          
          try:
              while not self.stopped:
                  scraperobj = jobs.get(False)
                  self.setName(scraperobj.getName())
                  try:
                      self.getStrips(scraperobj)
                  finally:
                      jobs.task_done()
                      self.setName(self.origname)
          except Empty:
              pass
          except KeyboardInterrupt:
              thread.interrupt_main()
docs: Process from queue until it is empty.