Searched refs:dir_or_file (Results 1 – 1 of 1) sorted by relevance
353 def remove(dir_or_file): argument354 if os.path.isfile(dir_or_file):355 os.remove(dir_or_file)356 elif os.path.isdir(dir_or_file):357 shutil.rmtree(dir_or_file, ignore_errors=True)