How to use the random2.Random.__init__ function in random2

To help you get started, we’ve selected a few random2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shlomif / fc-solve / fc-solve / source / board_gen / make_board_fc_solve.py View on Github external
def setSeed(self, seed):
        random2.Random.__init__(self, seed)
        self.initial_state = self.getstate()

random2

Python 3 compatible Python 2 `random` Module.

Python-2.0
Latest version published 1 year ago

Package Health Score

50 / 100
Full package analysis

Popular random2 functions

Similar packages