(Feb-03-2017, 12:21 PM)Mekire Wrote:(Feb-03-2017, 12:17 PM)wavic Wrote: Or you can use random.SystemRandom()Again, not the cause of his issue.
random.SystemRandom() gets the random number from /dev/urandom orĀ CryptGenRandom for Windows respectively. /dev/urandom is used as a pool in cryptography. It's considered unpredictable. My snipped is not what he needs but how to use it.
random.seed(); random.randint(1,6)
and rand = random.SystemRandom(); rand.randint(1,6)
both produce the same output.