title: ModuleNotFoundError in flask app while importing 'app' folder
body: <p>I'm getting a <strong>ModuleNotFoundError</strong> while running my flask app with this dir structure:</p>
  <pre><code>project
       | app
            | __init__.py
            | urls.py
            | views.py
       | __main__.py
  </code></pre>
  <p>In the project dir, while running <code>python3 .</code>, I'm getting a</p>
  <pre><code>File &quot;./app/__init__.py&quot;, line 4, in &lt;module&gt;
      import urls
  ModuleNotFoundError: No module named 'urls'
  </code></pre>
  <p>The content of <code>__init__.py</code> is</p>
  <pre class="lang-py prettyprint-override"><code>#!/usr/bin/env python3
  import logging
  import flask_cors
  import urls
  from views import flask_app
  
  log = logging.getLogger(&quot;werkzeug&quot;)
  log.disabled = True
  flask_cors.CORS(flask_app)
  
  def run(host, port):
      flask_app.run(host=host, port=port)
  </code></pre>
  <p>The code is a little big so <a href="https://drive.google.com/file/d/1TqqB-TpDZbXLXlADzk9PpCUibVkfrkTx/view?usp=sharing" rel="nofollow noreferrer">this</a> is the link to it.</p>