title: Importing a function from another folder
body: <p>Let's say I have a structure like this:</p>
  <pre><code>tests----------------
                       ___init__.py
                       test_functions_a
  
  functions-----------
                      ___init__.py
                      functions_a
                      functions_b
  </code></pre>
  <p>I want to test a function from <code>functions_a</code>, but inside <code>functions_a</code> I am importing a function from <code>functions_b</code>.</p>
  <p>When I am trying:</p>
  <pre><code>from functions.functions_a import function_aa
  </code></pre>
  <p>I am getting an error, because inside <code>functions_a</code> I have a line:</p>
  <pre><code>from functions_b import function_bb
  </code></pre>
  <p>and not:</p>
  <pre><code>from functions.functions_b import function_bb
  </code></pre>
  <p>How can I solve this?</p>
  <p>Any good practises are welcome, as I have no experience in structuring projects.</p>