title: Python/Json AttributeError: partially initialized module 'json' has no attribute
body: <p>I am running <strong>Windows 10 with MS Code Python 3.7</strong></p>
  
  <p>I get the following message from my simple code block</p>
  
  <blockquote>
    <p>Traceback (most recent call last):<br>
    File "c:/Users/marke/OneDrive/Desktop/Python Tutorial/json.py", line 1, in
    module
        import json   File "c:\Users\marke\OneDrive\Desktop\Python Tutorial\json.py", line 6, in 
        jsText = json.loads(FileText) AttributeError: partially initialized module 'json' has no attribute 'loads' (most likely due to
    a circular import)</p>
  </blockquote>
  
  <p>My code</p>
  
  <pre><code>import json
  
  jsFile = open("myjson.json","r")
  
  FileText = jsFile.read
  jsText = json.loads(FileText)
  </code></pre>