Module for quasi-random sequences?
Aahz
aahz at pythoncraft.com
Thu Jun 5 15:15:18 EDT 2003
In article <3edf8f97$0$45186$65c69314 at mercury.nildram.net>,
Andrew Wilkinson <ajw126 at NOSPAMyork.ac.uk> wrote:
>
>Sorry this doesn't directly answer your question, but there is the random
>module that is part of the standard library.
>
>http://www.python.org/doc/current/lib/module-random.html
>
>Not sure what method it uses, but unless you actually need those specific
>methods of generating a random list it's good enough for most applications.
Python 2.2 and earlier uses Wichmann-Hill; Python 2.3 uses the Mersenne
Twister.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"If you don't know what your program is supposed to do, you'd better not
start writing it." --Dijkstra
More information about the Python-list
mailing list