This package browser is in early development. Mind the rough edges.

python-random2 1.0.1

Python 3 version of the Python 2 `random' module

This package provides a Python 3 ported version of Python 2.7’s random module. It has also been back-ported to work in Python 2.6.

In Python 3, the implementation of randrange() was changed, so that even with the same seed you get different sequences in Python 2 and 3.

This package closes that gap, allowing stable random number generation between the different Python versions.

Installation

Install python-random2 1.0.1 as follows:

guix install python-random2@1.0.1

Or install the latest version:

guix install python-random2

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.