"Warren Stringer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | I am porting code that only uses this form | a[:4]b() | | Which translates to: | | for i in range(4): | a[i].b()
Or, more directly and perhaps more efficiently: for e in a[:4]: e.b() tjr -- http://mail.python.org/mailman/listinfo/python-list