Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > ## just for a laugh my own zip function > > ## the joke is it runs faster than built in zip ?? > > since it doesn't do the same thing, it's not a very good joke. > > > def myzip(*args): > > index = 0 > > for elem in args[0]: > > zipper = [] > > for arg in args: > > zipper.append(arg[index]) > > index = index +1 > > yield zipper > > </F>
indeed, the joke is on me ;) I thanks for pointing it out -- http://mail.python.org/mailman/listinfo/python-list