Searched refs:dir_or_file (Results 1 – 1 of 1) sorted by relevance
331 def remove(dir_or_file): argument332 if os.path.isfile(dir_or_file):333 os.remove(dir_or_file)334 elif os.path.isdir(dir_or_file):335 shutil.rmtree(dir_or_file, ignore_errors=True)