Reproducibility of python pseudo-random numbers across systems and versions?
I need to generate a controlled sequence of pseudo-random numbers, given an initial parameter. For that I'm using the standard python random generator, seeded by this parameter. I'd like to make sure that I will generate the same sequence across systems (Operating system, but also Python version). In summary: Does python ensure the reproducibility / portability of it's pseudo-random number generator across implementation and versions ? No, it doesn't. There's no such promise in the random module's documentation . What the docs do contain is this remark: Changed in version 2.3: MersenneTwister