subprocess-util/get_chunk_file.py

6 lines
155 B
Python

from pathlib import Path
def _get_chunk_file(chunk_file_tmpl: Path, ct: int):
return chunk_file_tmpl.parent.joinpath(f'{chunk_file_tmpl.name}.{ct}')