title: Issue while importing a package residing in another package
body: <p>My directory structure is as follows:</p>
  
  <pre><code>package1
  | __init__.py
  package2
  | __init__.py
  test.py
  </code></pre>
  
  <p>Right now, I can import package1 and package2 in test.py as follows:
  import package1
  import package2</p>
  
  <h1>Do stuff</h1>
  
  <p>Now I want to change my directory structure as follows:</p>
  
  <pre><code>package1
  | __init__.py
  | package2
  | | __init__.py
  test.py
  </code></pre>
  
  <p>I want to import this as follows:
  from package1 import package2
  from package2 import ... (Other functions)</p>
  
  <p>Can this be achieved?</p>