Thanks, exactly what i mean! And it was a built-in function! I'm blind! Bryan wrote: > see xrange: > http://www.python.org/doc/current/lib/built-in-funcs.html#l2h-66 >