Loading classes with inheritance from package
<p>Following structure:</p>

<pre><code>app.py
  /package
    __init__.py
    foo.py
    bar.py
</code></pre>

<p>"foo.py" and "bar.py" contains both classes "Foo" and "Bar". Class "Foo" inherits from class "Bar". We have following code in the files...</p>

<p>"app.py":</p>

<pre><code>from package import Foo

print Foo()
</code></pre>

<p>"__init__.py":</p>

<pre><code>from foo import Foo
from bar import Bar
</code></pre>

<p>"foo.py":</p>

<pre><code>class Foo(Bar):
    pass
</code></pre>

<p>"bar.py":</p>

<pre><code>class Bar:
    pass
</code></pre>

<p>If I create an instance from "Foo" I became an name error "name 'Bar' is not defined". What I have to do to make it work? I am using Python 2.6.6 if it matters...</p>

<p>.oO(I'm new to Python)</p>
