>>> '.'.join([''.join(a) for a in zip(*[iter(tel)]*2)]) '06.12.34.56.78'
>>> import itertools >>> liste = [1, 2 ,3, 4, 5, 6, 7, 8, 8, 10, 11, 12, 13, 14] >>> list(itertools.izip_longest(*[iter(liste)]*3)) [(1, 2, 3), (4, 5, 6), (7, 8, 8), (10, 11, 12), (13, 14, None)]