title: How an absolute import finds the root directory?
body: <p>I am confused in Absolute imports definition. It says:</p>
  
  <p><code>Absolute import involves full path i.e., from the project’s root folder to the desired module</code></p>
  
  <p>Suppose I am having a structure:</p>
  
  <pre><code>App
    project1
      file1.py
      file2.py
      __init__.py
    project2
      file3.py
      file4.py
      __init__.py
  </code></pre>
  
  <p>If from file <code>file3.py</code> I have to import some functions from <code>file1.py</code>, then I will write as</p>
  
  <pre><code>from app.project1.file1 import someFucntion
  </code></pre>
  
  <p>Question: How python finds that app is my root directory. My file structure can be different. I may have multiple folders above <code>App</code> folder. </p>
  
  <p>Like <code>/Users/Nitesh/App/Project1</code> --> This may be my directory structure</p>
  
  <p>Does Python consider root directory from a point where there is no <code>__init__.py</code>?</p>