Getting sorting order

Paddy paddy3118 at googlemail.com
Wed Jul 2 02:46:09 EDT 2008


On Jul 1, 8:26 pm, Tobiah <t... at tobiah.org> wrote:
> >>>> master,slave1,slave2=zip(*x)
>
> What does the asterisk do here?
>
> Thanks
> ** Posted fromhttp://www.teranews.com**

Hi Tobiah,
I blogged extensively on this zip(*x) trick here:
  http://paddy3118.blogspot.com/2007/02/unzip-un-needed-in-python.html

- Paddy.



More information about the Python-list mailing list