Re: Most pythonic way of weighted random selection



Manuel Ebert, this may be related/useful:
http://code.activestate.com/recipes/498229/

Note that numpy has a bisection method/function that are probably
quite faster.

Bye,
bearophile
.