Re: Converting a tuple to a list

2008-04-09 Thread Carl Banks
On Apr 8, 6:46 pm, "Gabriel Ibanez" <[EMAIL PROTECTED]> wrote: > Gabriel Ibanez wrote: > > Hi all .. > > > I'm trying to using the map function to convert a tuple to a list, without > > success. > > > I would like to have a lonely line that performs the same as loop of the > > next script: > > > --

Re: Converting a tuple to a list

2008-04-08 Thread David Harrison
On 09/04/2008, Gabriel Ibanez <[EMAIL PROTECTED]> wrote: > Hi all .. > > I'm trying to using the map function to convert a tuple to a list, without > success. > > I would like to have a lonely line that performs the same as loop of the > next script: > > ---

Re: Converting a tuple to a list

2008-04-08 Thread CM
On Apr 8, 6:46 pm, "Gabriel Ibanez" <[EMAIL PROTECTED]> wrote: > Gabriel Ibanez wrote: > > Hi all .. > > > I'm trying to using the map function to convert a tuple to a list, without > > success. > > > I would like to have a lonely line that performs the same as loop of the > > next script: > > > --

Re: Converting a tuple to a list

2008-04-08 Thread Shane Geiger
from goopy.functional import * tupla = ((1,2), (3,4), (5,6)) print flatten(tupla) Gabriel Ibanez wrote: > Hi all .. > > I'm trying to using the map function to convert a tuple to a list, without > success. > > I would like to have a lonely line that performs the same as loop of the > next s

Re: Converting a tuple to a list

2008-04-08 Thread John Krukoff
On Wed, 2008-04-09 at 00:46 +0200, Gabriel Ibanez wrote: > Gabriel Ibanez wrote: > > Hi all .. > > > > I'm trying to using the map function to convert a tuple to a list, without > > success. > > > > I would like to have a lonely line that performs the same as loop of the > > next script: > > > > -

Re: Converting a tuple to a list

2008-04-08 Thread Brian
On Tue, Apr 8, 2008 at 6:36 PM, Brian <[EMAIL PROTECTED]> wrote: > > > On Tue, Apr 8, 2008 at 6:22 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > > > Gabriel Ibanez wrote: > > > Hi all .. > > > > > > I'm trying to using the map function to convert a tuple to a list, > > without > > > success. > > >

Re: Converting a tuple to a list

2008-04-08 Thread Gabriel Ibanez
Gabriel Ibanez wrote: > Hi all .. > > I'm trying to using the map function to convert a tuple to a list, without > success. > > I would like to have a lonely line that performs the same as loop of the > next script: > > --- > # Conveting tuple -> list > > tup

Re: Converting a tuple to a list

2008-04-08 Thread Brian
On Tue, Apr 8, 2008 at 6:22 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > Gabriel Ibanez wrote: > > Hi all .. > > > > I'm trying to using the map function to convert a tuple to a list, > without > > success. > > > > I would like to have a lonely line that performs the same as loop of the > > next

Re: Converting a tuple to a list

2008-04-08 Thread Steve Holden
Gabriel Ibanez wrote: > Hi all .. > > I'm trying to using the map function to convert a tuple to a list, without > success. > > I would like to have a lonely line that performs the same as loop of the > next script: > > --- > # Conveting tuple -> list >

Converting a tuple to a list

2008-04-08 Thread Gabriel Ibanez
Hi all .. I'm trying to using the map function to convert a tuple to a list, without success. I would like to have a lonely line that performs the same as loop of the next script: --- # Conveting tuple -> list tupla = ((1,2), (3,4), (5,6)) print tupla