The main python module that is run should import random and call random.seed(n) – this is shared between all other imports of random as long as somewhere else doesn’t reset the seed.
The main python module that is run should import random and call random.seed(n) – this is shared between all other imports of random as long as somewhere else doesn’t reset the seed.