random number generator

Fredrik Lundh fredrik at pythonware.com
Thu Nov 3 19:26:09 CET 2005


> How to generate a random number in Python. Is there any build in
> function I can call?

    >>> import random
    >>> help(random)

also see:

    http://docs.python.org/lib/module-random.html

</F> 






More information about the Python-list mailing list