title: How to fix opening/reading json file?
body: <p>I'm reading a json file in python which has huge amount of imported goods data:</p>
  
  <pre><code>import json
  
  with open("data.json") as f:
  data = json.load(f)
  
  print(data)
  </code></pre>
  
  <p>but it displays this error</p>
  
  <pre class="lang-none prettyprint-override"><code>File "C:\Users\ALAA\Desktop\hello\dictionary.py", line 4
      data = json.load(f)
         ^
  IndentationError: expected an indented block
  </code></pre>
  
  <p>Now I got this error!!!</p>
  
  <pre class="lang-none prettyprint-override"><code>Traceback (most recent call last):
    File "C:\Users\ALAA\Desktop\hello\dictionary.py", line 2, in &lt;module&gt;
      with open("data.json") as f:
  FileNotFoundError: [Errno 2] No such file or directory: 'data.json'
  </code></pre>