> Michael Spencer wrote: >> result[ix::count] = input + [pad]*(maxlen-lengths[ix]) Peter Otten rewrote: > result[ix:len(input)*count:count] = input Quite so. What was I thinking? Michael