title: Modules organization for deploying in Python
body: <p>I am currently working on a Flask application. I would like to organize my .py files in different folders. This is a three that can describe all the folders.</p>
  <pre><code>Application 
      |_Interpreter
          |_
            __init__.py
            parser.py
      |_ Classes
        |_ Interfaces
            __init__.py
            Expressions.py
        |_ Operations
            __init__.py
            Arithmetic.py
            Operations.py
        |_ SymbolTable
            __init__.py
            Symbol.py
            Symbol_table.py
  
         __init__.py
         Driver.py
  </code></pre>
  <p>From my knowledge, the <code>__init__.py</code> makes the folder a module, then you should be able to import them from another files.
  For example, from the file Operations.py I want to import Expressions.py. This is how I would do it:
  <code>from Classes.Interfaces.Expression import Expression</code> The issue is that I keep getting a <code>ModuleNotFoundError: No module named 'Classes'</code> I've tried to use</p>
  <pre><code>import sys
  sys.path.append('\..')
  </code></pre>
  <p>But it doesn't work all the times, in the example given it doesn't work.
  I know that I can append the path of the file in my computer, but I think that it will produce some issues if I want to deploy an application to a server. Which is the best option to import modules?</p>