Random numbers

emile at fenx.com emile at fenx.com
Mon May 22 12:29:22 CEST 2000


Oops,  forgot to include this:

>>> print random.seed.__doc__
Seed the default generator from any hashable value.

	None or no argument returns (0, 0, 0) to seed from current time.

	
Emile van Sebille
emile at fenx.com


Russell Wallace <rwallace at esatclear.ie> wrote in message
news:<3929068F.622C at esatclear.ie>...
> Oops sorry, pressed the wrong button.  Trying again:
> 
> Is there any difference between the random number generator in the'
> random' module and that in the 'whrandom' one?
> 
> What's the quality of the numbers generated?  I don't need the absolute
> best, but hopefully it's at least better than a linear congruential
> generator?
> 
> Is there a way to get a reproducible sequence of random numbers? 
> seed(0,0,0) doesn't seem to have any effect.
> 
> Thanks,
> 
> -- 
> "To summarize the summary of the summary: people are a problem."
> Russell Wallace
> mailto:rwallace at esatclear.ie
> http://www.esatclear.ie/~rwallace
> -- 
> http://www.python.org/mailman/listinfo/python-list
>




More information about the Python-list mailing list