You can use the simplerandom module, which has a sequential implementation independent of the Python platform. It supports Python 2.4, 2.5, 2.6, 2.7, 3.1 and 3.2. It has 9 different algorithms.
Here is an example:
>>> import simplerandom.iterators as sri >>> rng = sri.MWC1(12345) >>> next(rng) 498186671L >>> next(rng) 888940288L >>> next(rng) 345072384L
And as long as you are seed with the same value, you will get the same results:
>>> rng = sri.MWC1(12345) >>> next(rng) 498186671L >>> rng = sri.MWC1(98765) >>> next(rng) 3546724783L
jterrace
source share