code: def remove(self, pkgs):
          
          print("\nRemove packages from the queue:\n")
          with open(self.queue_list, "w") as queue:
              for line in self.queued.splitlines():
                  if line not in pkgs:
                      queue.write(line + "\n")
                  else:
                      print("{0}{1}{2}".format(self.meta.color["RED"], line,
                                               self.meta.color["ENDC"]))
                      self.quit = True
              queue.close()
          if self.quit:
              print("")
docs: Remove packages from queue