title: What I'm doing wrong while using __init__.py?
body: <p>I have the following project structure:</p>
  <pre><code>stages
  --Transform
  ----__init__.py
  ----Transformer.py
  ----PDFTransformer.py
  core.py
  </code></pre>
  <p>I would like to import PDFTransformer like this:</p>
  <pre><code>from stages.Transform import PDFTransformer
  </code></pre>
  <p>Therefore I have created <code>stages/Transform/__init__.py</code> with the following content in it:</p>
  <pre><code>from .Transformer import Transformer
  from .PDFTransformer import PDFTransformer
  </code></pre>
  <p>But python interpreter throws the following error (in PDFTransformer.py):
  <code>ModuleNotFoundError: No module named 'Transformer'</code></p>
  <p>The PDFTransformer.py includes the following:</p>
  <pre><code>import Transformer
  
  class PDFTransformer (Transformer):
      pass
  </code></pre>
  <p>What I`m doing wrong?</p>