Georgy Pruss wrote: > Thank you. > Now it's "MemoryError: Stack overflow" but it's another story. :) Hmm, what are you doing exactly that requires this deep recursion? Can't you rewrite your algorithm in a non-recursive way? --Irmen