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 / View on Github external
def setSeed(self, seed):
        random2.Random.__init__(self, seed)
        self.initial_state = self.getstate()


Python 3 compatible Pytohn 2 `random` Module.

Latest version published 11 years ago

Package Health Score

46 / 100
Full package analysis

Popular random2 functions

Similar packages