Reverse zip() ?

alex23 wuwei23 at gmail.com
Wed Dec 3 05:11:51 EST 2008


On Dec 3, 6:51 pm, Andreas Waldenburger <geekm... at usenot.de> wrote:
> On Tue, 02 Dec 2008 18:16:13 -0800 Bryan Olson
> > zip as its own inverse might be even easier to comprehend if we call
> > zip by its more traditional name, "transpose".
>
> Sounds like a Py4k change to me.

Nah, just add the following to your sitecustomize.py:

   transpose = zip

:)



More information about the Python-list mailing list