title: Unresolved reference in Pycharm for importing modules in parent directory
body: <p>There was a similar question but not quite what I ran into so here we go:</p>
  
  <p>My directory structure:<br>
  ├── PycharmProjects<br>
    ____  ├── MyProject<br>
  _______   ├── main.py<br>
  _______ ├── ...<br>
     ___ ├── Tools<br>
  _______ ├── web.py  </p>
  
  <p>To import web.py functions I use</p>
  
  <pre><code>sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
  from Tools.web import *
  </code></pre>
  
  <p>It works in Pycharm as well as in Idle, however the code analysis in Pycharm shows Tools and its function as 'unresolved references'. How do I solve this issue ?</p>
  
  <p>I already tried:<br>
  1. <strong>init</strong>.py in each folder of all levels.<br>
  2. add tools folder to Project Structure, mark it Source folder (blue color)</p>