[Newbie] List from a generator function

Paul Rubin http
Mon Jul 24 09:49:50 EDT 2006


Sion Arrowsmith <siona at chiark.greenend.org.uk> writes:
> Why the use of starmap() rather than
> imap(random.choice, repeat(possible_notes))
> ?

Hmm, not sure what I was thinking.  I remember "imap... no that won't
work... ok, starmap".  It was late.  It's late now.



More information about the Python-list mailing list