def append_position(path, position, separator=''):
    filename, extension = os.path.splitext(path)
    return ''.join([filename, separator, str(position), extension])
Concatenate a path and a position,
dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/templates.py/append_position