For native module random
import random random.seed(1)
If not set, then set a python system according to their own time.
You can own a given time according to random seed, such as:
import time import random seed = int(time.time()) random.seed(seed)