Import from parent directory failed with ImportError
<p>I'm busy developing an application in python, my application is structured as follows</p>

<pre><code>main.py
pr/
    core/
        __init__.py
        predictor.py
    gui/
        predictor/
            __init__.py
            predict_panel.py
        __init__.py
        pr_app.py
    __init__.py
</code></pre>

<p>I launch the application using <code>main.py</code></p>

<p>inside <code>pr_app.py</code> I've got</p>

<pre><code>class PrApp(wx.App):
    PREDICTOR = Predictor()
</code></pre>

<p>inside <code>predict_panel.py</code> I can successfully do </p>

<p><code>from pr.core.predictor import Predictor</code></p>

<p>but for some reason I cannot do</p>

<p><code>from pr.gui.pr_app import PrApp</code></p>

<p>I get presented with</p>

<p><code>ImportError: cannot import name PrApp</code></p>

<p>Is there some kind of gotcha when importing from parent directories in python, or am I missing something?</p>
