> Does python have foreach loops? I don't see any mention of them in the > docs. Am I going to have to use Perl (gasp!) if I want my beloved > foreach loop?
Can you show an example of a Perl foreach loop? Perhaps someone can help translate it into idiomatic Python. Good luck! _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor