class_docstr: Base class for downloading sample datasets.
  
  This class is used by inherited classes for each specific dataset, providing basic functionality to
  download a dataset from a URL.
  
  The default download path of ~/stellargraph-datasets can be changed by setting the STELLARGRAPH_DATASETS_PATH environment variable,
  and each dataset will be downloaded to a subdirectory within this path.
class_docstr_tok: ["Base","class","for","downloading","sample","datasets",".","This","class","is","used","by","inherited","classes","for","each","specific","dataset",",","providing","basic","functionality","to","download","a","dataset","from","a","URL",".","The","default","download","path","of","~\/stellargraph-datasets","can","be","changed","by","setting","the","STELLARGRAPH_DATASETS_PATH","environment","variable",",","and","each","dataset","will","be","downloaded","to","a","subdirectory","within","this","path","."]
docstr: Delete the files for this dataset if they already exist 
docstr_tok: ["Delete","the","files","for","this","dataset","if","they","already","exist"]
code: def _delete_existing_files(self) -> None:
      """Delete the files for this dataset if they already exist"""
      for file in self.expected_files:
          try:
              os.remove(self._resolve_path(file))
          except OSError:
              pass
  
file_path: stellargraph/stellargraph/datasets/dataset_loader.py
imports: import os
  import logging
  from shutil import unpack_archive, move
  from urllib.request import urlretrieve
  from typing import List, Optional, Any
  from urllib.error import URLError
label_desc: Use image node_id 11 for calling the DatasetLoader obj's underlying member method code with example usage: obj._delete_existing_files() without return types