On Apr 22, 5:05 pm, tac-tics <[EMAIL PROTECTED]> wrote: > Yes, you should use a for loop in this situation. > > Certain functional languages, such as Scheme and various LISP dialects > allow for what is called "tail recursion" which effectively eliminates > this problem by internally converting recursion to iteration. Python > isn't really cut out for heavy recursive work, and the "Pythonic" way > of doing things is through the lovely for loop.
hi tac-tics, by using a for loop, do you mean in the same sense that the "xselections" function uses a for loop on the page: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/190465 ? or are you referring to a different technique for this? thanks for your help. i really appreciate it. proctor. -- http://mail.python.org/mailman/listinfo/python-list