What's the best Python idiom for this C construct? while ((x = next()) != END) { .... }
Now I'm doing x = next() while x != END: .... x = next() There's not an iterator for this function, or I would just use for x in ... Many TIA! Mark -- Mark Harrison Pixar Animation Studios -- http://mail.python.org/mailman/listinfo/python-list