opposite of zip()?
greg
greg at cosc.canterbury.ac.nz
Sat Dec 15 18:40:06 EST 2007
More information about the Python-list mailing list
Sat Dec 15 18:40:06 EST 2007
- Previous message (by thread): opposite of zip()?
- Next message (by thread): opposite of zip()?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
igor.tatarinov at gmail.com wrote: > map(append, arrays, tupl) > except there is no unbound append() (List.append() does not exist, > right?). Er, no, but list.append does: >>> list.append <method 'append' of 'list' objects> so you should be able to do map(list.append, arrays, tupl) provided you know that all the elements of 'arrays' are actual lists. -- Greg
- Previous message (by thread): opposite of zip()?
- Next message (by thread): opposite of zip()?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list