Il 20/03/2012 12:21, Ben Finney ha scritto:
"prince.pangeni"<prince.ra...@gmail.com> writes:
I am doing a simulation project using Python. In my project, I want
to use some short of distribution to generate requests to a server.
I guess scipy is also available in plain python (didn't check), but the
following works with Sage :
----------------------------------------------------------------------
| Sage Version 4.8, Release Date: 2012-01-20 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: from scipy import stats
sage: X=stats.poisson.rvs
sage: X(4)
5
sage: X(4)
2
sage: X(4)
3
Hope it helps
Laurent
--
http://mail.python.org/mailman/listinfo/python-list