On Tue, May 26, 2009 at 8:42 PM, Sumitava Mukherjee <sm...@cognobytes.com> wrote: > On May 26, 11:39 pm, Sumitava Mukherjee <sm...@cognobytes.com> wrote: > >>>>> [Oh, I forgot to mention. I am looking for sampling without replacement.]
That means that, you'll have to code something that updates the sums of probabilities after each extraction... Would there be a smart way of doing this, of just adding the whole updated list again is the best, or at least good enough? -- (\__/) ( O.o) ( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes de dominación mundial. -- http://mail.python.org/mailman/listinfo/python-list