Lines Matching full:path
39 def remove_path(path):
40 if os.path.exists(path):
41 shutil.rmtree(path)
46 if not os.path.exists(input_file):
91 def makedirs(path: str, exist_ok: bool = True):
93 os.makedirs(path, exist_ok=True)
95 if not os.path.isdir(path):
96 raise Exception("{} makedirs failed".format(path))
98 raise Exception("{} exists, makedirs failed".format(path))