title: A beginner task in python with txt data processing, sum of numbers in a column
body: <p>I have a big txt file, with datas like this format:</p>
  <pre><code>Name Points
  Joe 1
  Joe 5
  Anna 6
  Anna 1
  Eva 9
  Eva 6
  </code></pre>
  <p>(There is more line and name, but the same number of lines per name.)</p>
  <p>And I need the sum of the numbers by names in a list, and the main goal is to find the first ten name with the greatest sum.</p>
  <p>Something like that:</p>
  <pre><code>Best:
  Eva 15
  Anna 7
  Joe 6
  </code></pre>
  <p>How would you solve it?</p>
  <p>(I tryed and now I got stuck:
  I can open the file, spilt it into lines, and split it to words like this:</p>
  <pre><code>file = open('sum.txt')
  
  with open('sum.txt') as f:
      line = f.readlines()
  
  line[1].split()
  </code></pre>
  <p>But all other kind of solutions are welcome.)</p>