Exponential arrival distribution in Python

Ian Kelly ian.g.kelly at gmail.com
Wed Nov 28 23:25:38 CET 2012

On Wed, Nov 28, 2012 at 2:34 PM, Ricky <rakkitha263 at 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:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121128/dbc36021/attachment.html>

More information about the Python-list mailing list