On Sun, 22 Jul 2007, Jerry Hill wrote: > On 7/21/07, Alan Gauld <[EMAIL PROTECTED]> wrote: > > > all(char in string.printable for char in testString) > > > > What is all? > > Is that a 2.5 thing (I'm still on 2.4 here) > > Yes, it's a 2.5 thing.
That was my favorite, too. I didn't notice the new all method in 2.5. It certainly seems the most Pythonic approach. I really enjoyed seeing all the proposed alternatives, however. Thanks, everybody! _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor