<div class="gmail_quote">On Wed, Nov 28, 2012 at 2:34 PM, Ricky <span dir="ltr"><<a href="mailto:rakkitha263@gmail.com" target="_blank">rakkitha263@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Hi all,<br>
<br>
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.<br>

</blockquote></div><br>Are you looking for a PRNG using the the exponential distribution?  The random module built into the standard library already implements this; see:<br><br><a href="http://docs.python.org/3/library/random.html#random.expovariate">http://docs.python.org/3/library/random.html#random.expovariate</a><br>