Can't get Python to import from a different folder
<p>I can't seem to get Python to import a module in a subfolder. I get the error when I try to create an instance of the class from the imported module, but the import itself succeeds. Here is my directory structure:</p>

<pre><code>Server
    -server.py
    -Models
        --user.py
</code></pre>

<p>Here's the contents of server.py:</p>

<pre><code>from sys import path
from os import getcwd
path.append(getcwd() + "\\models") #Yes, i'm on windows
print path
import user

u=user.User() #error on this line
</code></pre>

<p>And user.py:</p>

<pre><code>class User(Entity):
    using_options(tablename='users')

    username = Field(String(15))
    password = Field(String(64))
    email    = Field(String(50))
    status   = Field(Integer)
    created  = Field(DateTime)
</code></pre>

<p>The error is:
AttributeError: 'module' object has no attribute 'User'</p>
