def to_os_path(self, _path, _case, _run_id):
path_out = self.run_path(_case, str(_run_id))
_path = str(_path).split('/')
file_out = None
counter = 1
for res in _path:
if counter < len(_path):
res = secure_filename(res)
path_out = os.path.join(path_out, res)
if counter == len(_path):
file_out = res
counter += 1
return path_out, file_out
## Function to read file content
# @param _file_name file name <string>
评论列表
文章目录