[Newbie] List from a generator function
Ernesto García García
titogarcia_nospamplease_ at gmail.com
Sun Jul 23 03:57:02 EDT 2006
Hi all,
I'm sure there is a better way to do this:
[random.choice(possible_notes) for x in range(length)]
Regards,
Ernesto
More information about the Python-list
mailing list