Paul Rubin wrote: > John Salerno <[EMAIL PROTECTED]> writes: >> Is there a better way to extract a certain number of items from a list >> (so maybe I don't need the for loop)? Is a list even the right type to >> use, since it gets edited in place? Perhaps a set? > > See the doc for random.sample.
Thanks, looks like just what I was needing! -- http://mail.python.org/mailman/listinfo/python-list