title: Python - invalid character in identifier error
body: <p>I have this code in a file called script.py</p>
  <pre><code>import json
  myjson=json.loads(open(‘id.json’,’rb’))
      [(os.makedirs(os.path.join(*v.split(‘_’))), open(os.path.join(*v.split(‘_’),‘id.txt’),’w’).write(k)) for k,v in myjson.items()]
  </code></pre>
  <p>I also have in the same folder, a file called id.json that looks like this:</p>
  <pre><code>{
  &quot;0&quot;:&quot;text_test&quot;,
  &quot;1&quot;:&quot;text_text&quot;,
  &quot;2&quot;:&quot;test_test&quot;,
  ...
  }
  </code></pre>
  <p>But when I try to run py script.py command on the cmd, I get this error :</p>
  <pre><code>  File &quot;script.py&quot;, line 2
      myjson=json.loads(open(‘id.json’,’rb’))
                               ^
  SyntaxError: invalid character in identifier
  </code></pre>
  <p>I am not very familiar with Python and some guides from the web didn't help me out.</p>