inverse of the zip function

David C. Fox davidcfox at post.harvard.edu
Tue Jul 29 17:36:36 EDT 2003


Terry Reedy wrote:

> "David C. Fox" <davidcfox at post.harvard.edu> wrote in message
> news:9sBVa.12998$o%2.6289 at sccrnsc02...
> 
>>Is there a function which takes a list of tuples and returns a list
> 
> of
> 
>>lists made up of the first element of each tuple, the second element
> 
> of
> 
>>each tuple, etc.?
>>
>>In other words, the the inverse of the built-in zip function?
> 
> 
> Go to
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.python
> enter 'zip inverse', and check search Python only.
> 
> TJR
> 
> 

Thanks.  I've gotten so used to reading this group with Mozilla Mail 
that I forgot about google groups.

David





More information about the Python-list mailing list