On Wed, Nov 28, 2012 at 2:34 PM, Ricky <rakkitha...@gmail.com> wrote:
> > Hi all, > > I am doing a project on traffic simulation. I want to introduce > exponential arrival distribution to precede this task. Therefore I want > write a code in python for exponential arrival distribution. I am very new > for programming and if anybody can help me on this that would be great. > Are you looking for a PRNG using the the exponential distribution? The random module built into the standard library already implements this; see: http://docs.python.org/3/library/random.html#random.expovariate
-- http://mail.python.org/mailman/listinfo/python-list