title: How to print dict in separate line?
body: <pre><code>import re
  sums = dict()
  fh= open('wordcount.txt','r')
  for line in fh:
      words = [word.lower() for word in re.findall(r'\b\w+\b', line)]
      for word in (words):
          if word in sums:
              sums[word] += 1
          else:
              sums[word] = 1
  print sums
  fh.close
  </code></pre>
  
  <p>result shows</p>
  
  <pre><code>{'and': 1, 'heart': 1, 'love': 2, 'is': 1, 'pass': 1, 'rest': 1, 'wounded': 1, 'at': 3, 
  'in': 3, 'lie': 1, 'winchelsea': 1, 'there': 1, 'easy': 1, 'you': 2, 'body': 1, 'be': 
  1, 'rise': 1, 'shall': 4, 'may': 2, 'sussex': 1, 'montparnasse': 1, 'not': 3, 'knee': 
  1, 'bury': 3, 'tongue': 1, 'champmedy': 1, 'i': 5, 'quiet': 1, 'air': 2, 'fresh': 1, 
  'the': 1, 'grass': 1, 'my': 3}
  </code></pre>
  
  <p>The code print all the word and count frequency word use.</p>
  
  <p>I would like to print dict in separate line.</p>
  
  <pre><code>'and': 1
  'heart': 1
  'love': 2
  ...
  </code></pre>
  
  <p>Any possible way to do that?</p>