Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80474

Re: What does zip mean?

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From giacomo boffi <giacomo_boffi@inwind.it>
Newsgroups comp.lang.python
Subject Re: What does zip mean?
Date Mon, 10 Nov 2014 17:48:25 +0100
Organization Aioe.org NNTP Server
Lines 12
Message-ID <m3qq8m$e0n$1@speranza.aioe.org> (permalink)
References <baab02ae-09b4-4b9c-8e29-50e2581f9a7b@googlegroups.com>
NNTP-Posting-Host N5JybhRutV++93nmGaUFfg.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.python:80474

Show key headers only | View raw


On 11/09/2014 11:44 AM, satishmlmlml@gmail.com wrote:
> What does zip return in the following piece of code?

To help you understanding what is the `zip` builtin,
please forget about PKZip etc and think about the
_zip fastener_ or _zipper_ in your bag or in your trousers

In the bag you have two sequences of teeth that the zipper
binds together in interlocking pairs

In your program you have two lists, whose elements `zip` returns
bound together in pairs

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What does zip mean? satishmlmlml@gmail.com - 2014-11-09 02:44 -0800
  Re: What does zip mean? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-09 21:58 +1100
    Re: What does zip mean? milos zorica <miloshzorica@gmail.com> - 2014-11-09 08:06 -0300
  Re: What does zip mean? giacomo boffi <giacomo_boffi@inwind.it> - 2014-11-10 17:48 +0100
    Re: What does zip mean? Grant Edwards <invalid@invalid.invalid> - 2014-11-10 17:19 +0000
      Re: What does zip mean? Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-11-11 10:04 +1300
      Re: What does zip mean? Cameron Simpson <cs@zip.com.au> - 2014-11-11 07:36 +1100
      Re: What does zip mean? Terry Reedy <tjreedy@udel.edu> - 2014-11-10 19:39 -0500
      Re: What does zip mean? giacomo boffi <pecore@pascolo.net> - 2014-11-13 23:10 +0100
      Re: What does zip mean? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-14 22:06 +1100

csiph-web