title: File path in python
body: <p>I'm trying to load the json file but it gives me an error saying <code>No such file or directory:</code></p>
  
  <pre><code>with open ('folder1/sub1/sub2/sub2/sub3/file.json') as f:
      data = json.load(f)
  print data
  </code></pre>
  
  <p>The above file main.py is kept outside the <code>folder1</code>. All of this is kept under project folder.</p>
  
  <p>So, the directory structure is Project/folder1/sub1/sub2/sub2/sub3/file.json
  Where am I going wrong?</p>