code: def rmrf(items, verbose=True):
      "Silently remove a list of directories or files"
      if isinstance(items, str):
          items = [items]
  
      for item in items:
          if verbose:
              print("Removing {}".format(item))
          shutil.rmtree(item, ignore_errors=True)
          # rmtree doesn't remove bare files
          try:
              os.remove(item)
          except FileNotFoundError:
              pasf rmrf(items, verbose=True):
      "Silently remove a list of directories or files"
      if isinstance(items, str):
          items = [items]
  
      for item in items:
          if verbose:
              print("Removing {}".format(item))
          shutil.rmtree(item, ignore_errors=True)
          # rmtree doesn't remove bare files
          try:
              os.remove(item)
          except FileNotFoundError:
              pass
docs: Silently remove a list of directories or files