title: ModuleNotFoundError when running script from Terminal
body: <p>I have the following folder structure:</p>
  
  <ul>
  <li><code>app</code>
  
  <ul>
  <li><code>__init__.py</code></li>
  <li><code>utils</code>
  
  <ul>
  <li><code>__init__.py</code></li>
  <li><code>transform.py</code></li>
  </ul></li>
  <li><code>products</code>
  
  <ul>
  <li><code>__init__.py</code></li>
  <li><code>fish.py</code></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>In fish.py I'm importing <code>transform</code> as following: <code>import utils.transform</code>.</p>
  
  <p>When I'm running fish.py from Pycharm, it works perfectly fine. However when I am running fish.py from the Terminal, I am getting error <code>ModuleNotFoundError: No module named 'utils'</code>.</p>
  
  <p>Command I use in Terminal: from app folder <code>python products/fish.py</code>.</p>
  
  <p>I've already looked into the solutions suggested here: <a href="https://stackoverflow.com/questions/4383571/importing-files-from-different-folder">Importing files from different folder</a>, adding a path to the application folder into the <code>sys.path</code> helps. However I am wondering if there is any other way of making it work without adding two lines of code into the <code>fish.py</code>. It's because I have many scripts in the /products directory, and do not want to add 2 lines of code into each of them.</p>
  
  <p>I looked into some open source projects, and I saw many examples of importing modules from a parallel folder without adding anything into sys.path, e.g. here:
  <a href="https://github.com/jakubroztocil/httpie/blob/master/httpie/plugins/builtin.py#L5" rel="noreferrer">https://github.com/jakubroztocil/httpie/blob/master/httpie/plugins/builtin.py#L5</a></p>
  
  <p>How to make it work for my project in the same way?</p>