code: def remove(item):
      
      if os.path.isdir(item):
          shutil.rmtree(item)
      else:
          # Assume it's a file. error if not.
          os.remove(item)
docs: Delete item, whether it's a file, a folder, or a folder
      full of other files and folders.