title: Can't import my own modules in Python
body: <p>I'm having a hard time understanding how module importing works in Python (I've never done it in any other language before either).</p>
  
  <p>Let's say I have:</p>
  
  <pre><code>myapp/__init__.py
  myapp/myapp/myapp.py
  myapp/myapp/SomeObject.py
  myapp/tests/TestCase.py
  </code></pre>
  
  <p>Now I'm trying to get something like this:</p>
  
  <pre><code>myapp.py
  ===================
  from myapp import SomeObject
  # stuff ...
  
  TestCase.py
  ===================
  from myapp import SomeObject
  # some tests on SomeObject
  </code></pre>
  
  <p>However, I'm definitely doing something wrong as Python can't see that <code>myapp</code> is a module:</p>
  
  <pre><code>ImportError: No module named myapp
  </code></pre>