def join_elems(elems, sep=' '):
    if not callable(sep):
        sep_value = sep

        def sep():
            return sep_value
    l = []
    s = None
    for e in elems:
        if s is not None:
            l.append(s)
        s = sep()
        l.append(e)
    return l
List all available data logging sessions
dataset/ETHPy150Open lsaffre/lino/lino/utils/__init__.py/join_elems--crossover with--dataset/ETHPy150Open pebble/libpebble2/libpebble2/services/data_logging.py/DataLoggingService.list