Sumitava Mukherjee:
>I need to randomly sample from a list where all choices have weights attached 
>to them.<

Like this?
http://code.activestate.com/recipes/498229/

Bye,
bearophile
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to