title: How does Python's random use system time?
body: <p>I've searched around but couldn't find an explanation. Please help me. Thanks.</p>
  
  <p>I understand that Python will use system's time if a seed is not provided for random (to the best of my knowledge). My question is: How does Python use this time? Is it the timestamp or some other format?</p>
  
  <p>I ran the following code;</p>
  
  <pre><code>from time import time
  import random
  
  t1 = time() #this gave 1590236721.1549928
  data = [random.randint(0, 100) for x in range(10)]
  t2 = time() #this also gave 1590236721.1549928
  </code></pre>
  
  <p>Since <code>t1 == t2</code>, I guessed that if UNIX timestamp is used as seed, it should be <code>t1</code> but after trying it like so;</p>
  
  <pre><code>random.seed(t1)
  data1 = [random.randint(0, 100) for x in range(10)]
  </code></pre>
  
  <p>I got different values: <code>data != data1</code>.</p>
  
  <p>I need more explanations/ clarifications. Thanks.</p>