title: Transform texts field to dictionary
body: <p>I have a text file where each line contain information like:</p>
  
  <pre><code>a: send value b: XYZ
  </code></pre>
  
  <p>How can I transform this to have a dictionary for each line:</p>
  
  <pre><code>{'a': 'send value', 'b': 'XYZ'}
  </code></pre>
  
  <p>What I have done before but I have some problems with text :</p>
  
  <pre><code>from parse import parse
  import sys
  with open("txt.txt") as fi:
      line = fi.readline()
      result = list(parse('{}: {} {}: {}', line))
      print({i:j for i,j in zip(result[::2], result[1::2])})
  </code></pre>
  
  <p>AND my result is :
      <code>{'a': 'send', 'value b': 'XYZ'}</code></p>
  
  <p>What is the the best way to handle text content</p>