Terminal 1:
>>> import numpy as np
>>> np.random.seed(2809)
>>> 
>>> print(np.random.randn(10))
[ 0.23747478  0.56083014 -1.1650379   0.12482746  0.04529476 -0.60137682
 -0.18559365  0.57410855 -0.53776209 -0.03972935]
>>>

Terminal 2:
>>> import numpy as np
>>> np.random.seed(2809)
>>> 
>>> print(np.random.randn(10))
[ 0.23747478  0.56083014 -1.1650379   0.12482746  0.04529476 -0.60137682
 -0.18559365  0.57410855 -0.53776209 -0.03972935]
>>>

In @ptrblck 's example, the np.random.seed method is called again which “resets” the generator and the same numbers are generated. The random numbers generated will be different every consecutive time it’s called once the seed is set, but the same sequence of numbers will be generated if you initialize it from the same seed from different instances.