title: python seed() not keeping same sequence
body: <p>I'm using a random.seed() to try and keep the random.sample() the same as I sample more values from a list and at some point the numbers change.....where I thought the one purpose of the seed() function was to keep the numbers the same.</p>
  
  <p>Heres a test I did to prove it doesn't keep the same numbers.</p>
  
  <pre><code>import random
  
  a=range(0,100)
  random.seed(1)
  a = random.sample(a,10)
  print a
  </code></pre>
  
  <p>then change the sample much higher and the sequence will change(at least for me they always do):</p>
  
  <pre><code>a = random.sample(a,40)
  print a
  </code></pre>
  
  <p>I'm sort of a newb so maybe this is an easy fix but I would appreciate any help on this.
  Thanks!</p>