On Wed, Jan 14, 2009 at 8:27 AM, culpritNr1 <ig2ar-s...@yahoo.co.uk> wrote:
> > > there some kind of random.poisson()? > > Thank you, > > culpritNr1 > > Hello try the scipy library: >>> from scipy import stats >>> lamb = 10 >>> stats.distributions.poisson.rvs(lamb, loc=0) array([5]) >>> stats.distributions.poisson.rvs(lamb, loc=0) array([14]) http://www.scipy.org/ cheers,
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor