title: Str object is not callable
body: <p>I tried to lookout for a way to split a string to a dictionary. </p>
  
  <pre><code>a=(get_profile_data()['1'])
  print(a)
  # output: CSRP:Hot12345,Pos:[id],Erp:Hot123456,Miki:[id],Citrix:Hot12345
  </code></pre>
  
  <p>I came out with this solution:</p>
  
  <pre><code>b= dict(e.split(':') for e in a.split(','))
  </code></pre>
  
  <p>But i get error <code>Str object is not callable</code>.
  I don't understand why the error raised up, I will appreciate any help.
  Thanks,
  Or</p>
  
  <p>edit:
  full trackback:
      Traceback:C:\Or\myScript\txt creator\line_reader.py. line 24<br>
      TypeError: 'str' object is not callable.</p>
  
  <p>the strange thing is the code work fine with idle but show me this error in PyScripter.</p>