Lines Matching refs:file_path
33 def write_log_file(file_path, log_str): argument
34 with open(file_path, mode='a+') as f:
41 file_path = os.path.join(path, file)
42 if os.path.isdir(file_path):
43 file_paths.update(traverse_dir(file_path))
45 dir_name = os.path.dirname(file_path)
47 file_paths[dir_name] = [file_path]
49 file_paths[dir_name].append(file_path)
174 for file_path in file_paths:
175 if not file_path:
177 if os.path.isdir(file_path):
178 remove_dir(file_path)
180 remove_file(file_path)