title: Python: Solve "ValueError: too many values to unpack (expected 2)" for large text file?
body: <p>I have a program that reads from a text file that contains all original 151 Pokemon like this:</p>
  
  <pre><code>1 Bulbasaur 
  2 Ivysaur 
  3 Venusaur 
  </code></pre>
  
  <p>My code is this</p>
  
  <pre><code>def dict():
      file = open("Pokemons.txt", 'r')
      d = {}
      for i in file:
          (k,v) = i.strip().split()
          d[int(k)] = v.strip()
      return d
  
  d = dict()
  for x in range(1,5):
      print (d[x])
  </code></pre>
  
  <p>And I get this as an error: "ValueError: too many values to unpack (expected 2)"
  Anyway to get around this? Thanks.</p>