title: Set numpy.random.seed on a global scale
body: <p>How can I set <code>numpy.random.seed(0)</code> on a global scale? It seems I have to reset the seed every time I call a <code>np.random</code> function.</p>
  <pre><code>import numpy as np
  
  np.random.seed(0)
  print(np.random.randint(0,10,2))
  np.random.seed(0)
  print(np.random.randint(0,10,2))
  print(np.random.randint(0,10,2))
  
  np.random.seed(0)
  print(np.random.rand())
  np.random.seed(0)
  print(np.random.rand())
  print(np.random.rand())
  
  
  [5 0]
  [5 0]
  [3 3]
  0.5488135039273248
  0.5488135039273248
  0.7151893663724195
  </code></pre>