Pure python implementation of Mersenne Twister?

Tim Peters tim.one at comcast.net
Tue Oct 29 11:50:14 EST 2002


[posted & mailed, so it doesn't get lost in the current news<->mail
 gateway breakdown]

[PoulsenL at capanalysis.com]
> I know of at least 3 implementations of the Mersenne Twister 
> algorithm as C extensions for python, but has anyone written one
> in pure python, for educational purposes, for example?  

google for

    frohne twister

and get Ivan Frohne's rv.py.  A pure-Python Twister is one of its joys.




More information about the Python-list mailing list